Пример #1
0
        static void Main(string[] args)
        {
            using (var dc = new TestDataDB("TestData"))
            {
                var int1 = (int?)1;
                var str2 = "2";

                dc.Scalar_OutputParameter(ref int1, ref str2);
            }
        }
Пример #2
0
		static void Main(string[] args)
		{
			using (var db = new TestDataDB())
			{
				var q =
					from c in db.People
					select c;

				foreach (var c in q)
					Console.WriteLine(c.PersonID);

				db.Patient_SelectByName("", "");
			}
		}