public void Test() { SqlQuery<Person> query = new SqlQuery<Person>(); Person person = query./*[a]*/SelectByKey("Tester", "Testerson")/*[/a]*/; Assert.IsNotNull(person); }
public void Test1() { SqlQuery<MyPersonObject> query = new SqlQuery<MyPersonObject>(); MyPersonObject person = query./*[a]*/SelectByKey(1)/*[/a]*/; Assert.IsNotNull(person); }
public void Test() { SqlQuery<Person> da = new SqlQuery<Person>(); Person person = da./*[a]*/SelectByKey(1)/*[/a]*/; Assert.IsNotNull(person); }
public void Test1() { int id = Insert(); /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; query./*[a]*/DeleteByKey(id)/*[/a]*/; }
public void Test1() { SqlQuery<Person> query = new SqlQuery<Person>/*[a]*/()/*[/a]*/; Person person = query.SelectByKey(1); Assert.IsNotNull(person); }
public void Test2() { using (DbManager db = new DbManager()) { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; List<Person> list = query./*[a]*/SelectAll(db)/*[/a]*/; } }
public void Test1() { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; Person person = query.SelectByKey(_id); person.Gender = Gender.Other; query./*[a]*/Update(person)/*[/a]*/; }
public void Test() { SqlQuery<MyPersonObject> query = new SqlQuery<MyPersonObject>(); /*[a]*/query.Extensions = TypeExtension.GetExtensions("XmlExtension.xml")/*[/a]*/; MyPersonObject person = query.SelectByKey(1); Assert.IsNotNull(person); }
public void Test3() { using (DbManager db = new DbManager()) { SqlQuery<Person> query = new SqlQuery<Person>/*[a]*/()/*[/a]*/; Person person = query.SelectByKey(/*[a]*/db/*[/a]*/, 1); Assert.IsNotNull(person); } }
public void Test2() { using (DbManager db = new DbManager()) { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; Person person = query./*[a]*/SelectByKey(db, 1)/*[/a]*/; Assert.IsNotNull(person); } }
public void Test() { SqlQuery<Person> query = new SqlQuery<Person>(); Person person = new Person(); person.FirstName = "Crazy"; person.LastName = "Frog"; person.Gender = Gender.Other; query./*[a]*/Insert(person)/*[/a]*/; }
public void Test1() { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; Person person = new Person(); person.FirstName = "Crazy"; person.LastName = "Frog"; person.Gender = Gender.Unknown; query./*[a]*/Insert(person)/*[/a]*/; }
public void Test2() { int id = Insert(); using (DbManager db = new DbManager()) { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; Person person = query.SelectByKey(db, id); query./*[a]*/Delete(db, person)/*[/a]*/; } }
public void Test2() { using (DbManager db = new DbManager()) { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; Person person = query.SelectByKey(db, _id); person.Gender = Gender.Other; query./*[a]*/Update(db, person)/*[/a]*/; } }
public void Test2() { using (DbManager db = new DbManager()) { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; Person person = new Person(); person.FirstName = "Crazy"; person.LastName = "Frog"; person.Gender = Gender.Other; query./*[a]*/Insert(db, person)/*[/a]*/; } }
public void Test1() { /*[a]*/SqlQuery<Person> query = new SqlQuery<Person>()/*[/a]*/; List<Person> list = query./*[a]*/SelectAll()/*[/a]*/; }