![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SQL-Server
文章平均质量分 61
oukokusen2017
SE
展开
-
CodeFirst
・モデル・クラスの作成をする ・SysRoleモデルクラスの作成をする namespace CodeFirst.Model { public class SysRole { public int ID { get; set; } public string RoleName { get; set; } public string RoleDesc { get;原创 2017-06-01 09:03:01 · 316 阅读 · 0 评论 -
ADO.NET データベース接続方式
・SqlDataReaderを使用、データの読み出しをする public static void SqlconnectByDR() { string path = "server=XXX;database =Test;Integrated Security =true"; SqlConnection原创 2017-06-01 14:21:57 · 316 阅读 · 0 评论 -
ストアドプロシージャ
create table UserInfo( id varchar(4), username varchar(5), userpwd varchar(15), useraddress varchar(15)); create proc userAdd( @id varchar(4), @username varcha原创 2017-06-02 15:21:24 · 916 阅读 · 0 评论 -
エンティティによりデータサービスの作成及びCRUD
・データサービスの作成をする ・エンティティXXの非公開インスタンスをする private TestEntities testEntities = new TestEntities(); ・プロパティの作成をする public DbSet T_Students //T_Studentsテーブル相当 { get { r原创 2017-06-01 09:26:16 · 336 阅读 · 0 评论