Beispiel #1
0
        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]*/;
        }
Beispiel #2
0
		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]*/;
		}
Beispiel #3
0
		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]*/;
		}
Beispiel #4
0
        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]*/;
        }
Beispiel #5
0
		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]*/;
			}
		}
Beispiel #6
0
        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]*/;
            }
        }