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 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 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() { 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 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]*/; } }