public void SelectCustomer() { LinqToSQLDataContext db = new LinqToSQLDataContext(); CustomerData customer = db.CustomerDatas.FirstOrDefault(e => e.FirstName.Equals("vivek")); Console.WriteLine(customer.CustomerId + " " + customer.FirstName + " " + customer.LastName + " " + customer.PhoneNumber); }
partial void DeleteCustomerData(CustomerData instance);
partial void UpdateCustomerData(CustomerData instance);
partial void InsertCustomerData(CustomerData instance);