Пример #1
0
 public Form1()
 {
     InitializeComponent();
     CKGLContext db = new CKGLContext();
     db.Users.Add(new User { Auth = AuthLevel.Common, UserName = "******" });
 }
Пример #2
0
 public CKGLDAL(CKGLContext db)
 {
     this.db = db;
 }