示例#1
0
        static void Main(string[] args)
        {
            AddressBookAdapter adapter = new AddressBookAdapter();
            AddressBookModel   model   = new AddressBookModel();

            model.firstName = "Kabir";
            model.lastName  = "Sanyal";
            model.address   = "HN 113";
            model.city      = "Asansol";
            model.state     = "WB";
            model.zip       = 98723;
            model.phone     = 917412;
            model.emailid   = "*****@*****.**";
            string result = adapter.AddAddress(model);

            Console.WriteLine(result);
        }
示例#2
0
 public void SetUp()
 {
     adapter = new AddressBookADO.AddressBookAdapter();
 }