上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页
摘要: 定义一个雇员类:namespace StaticFieldTest1{ class Employee { public int Id { get; set; } public string FirstName { get; set; } publ... 阅读全文
posted @ 2015-04-23 21:37 海阔天空XM 阅读(386) 评论(0) 推荐(0)
摘要: 昨晚无意中发现的东西,分享给各位使用,google搜索技术方面的东西还是很准确的,可惜被墙了,但是上有政策下有对策……谷歌地址:http://74.125.224.18/http://91.213.30.151/https://www.sssis.com/?gws_rd=sslhttp://61.2... 阅读全文
posted @ 2015-03-17 10:27 海阔天空XM 阅读(841) 评论(0) 推荐(0)
摘要: 一、创建新项目 二、添加模型文件 三、添加完后,在设计面板空白处右击,创建一个实体 实体集(B) 这里的名称会是对应的数据库表名称!!! ,开始不知道这是什么,生成后才知道表名是这个,以后注意点就行。 四、添加实体标量属性(Scalar Property) 你现在已经完成一个简单的概念性的模型... 阅读全文
posted @ 2014-12-18 16:40 海阔天空XM 阅读(452) 评论(0) 推荐(0)
摘要: 1 //----------------------------------------------------------------------- 2 // 3 // Copyright (c) YuGuan Corporation. All rights reserve... 阅读全文
posted @ 2014-11-17 08:43 海阔天空XM 阅读(350) 评论(0) 推荐(0)
摘要: ... 阅读全文
posted @ 2014-11-05 21:54 海阔天空XM 阅读(836) 评论(0) 推荐(0)
摘要: 1 --以默认的包裹一个行对象,列名为属性名,值为行值 2 SELECT TOP 1000 * FROM [AdventureWorks2008R2].[Person].[Person] FOR XML RAW 3 4 --以默认的包裹一个行对象,列名为元素名,包裹行值 5 SELECT TOP... 阅读全文
posted @ 2014-11-01 12:40 海阔天空XM 阅读(155) 评论(0) 推荐(0)
摘要: 一、Modeling a Many-to-Many Relationship with No Payload1. 创建数据库表CREATE TABLE [Album]([AlbumId] [int] NOT NULL IDENTITY(1, 1),[AlbumName] [varchar] (50)... 阅读全文
posted @ 2014-08-17 22:52 海阔天空XM 阅读(503) 评论(0) 推荐(0)
摘要: Creating a Model from an Existing Database一、创建数据库 Chapter2USE masterGOCREATE DATABASE Chapter2GOUSE Chapter2GOCREATE TABLE [Meter]([MeterId] [int] NOT... 阅读全文
posted @ 2014-08-09 23:15 海阔天空XM 阅读(1050) 评论(0) 推荐(0)
摘要: 一、准备工作1.开发工具 Visual Studio 20132.安装 Entity Framework 6 Tools for Visual Studio 2012 & 2013 来实现 Code First with Database工具下载:http://www.microsoft.com/e... 阅读全文
posted @ 2014-08-06 20:30 海阔天空XM 阅读(1531) 评论(1) 推荐(3)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace AsyncDem... 阅读全文
posted @ 2014-08-06 11:49 海阔天空XM 阅读(286) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页