public ContactEdit(NotifyObject no, tbl_Contact i) { InitializeComponent(); notifyObj = no; item = i; grMain.DataContext = item; }
/// <summary> /// Deprecated Method for adding a new object to the tbl_Contact EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_Contact(tbl_Contact tbl_Contact) { base.AddObject("tbl_Contact", tbl_Contact); }
/// <summary> /// Create a new tbl_Contact object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> public static tbl_Contact Createtbl_Contact(global::System.Guid id, global::System.String name) { tbl_Contact tbl_Contact = new tbl_Contact(); tbl_Contact.ID = id; tbl_Contact.Name = name; return tbl_Contact; }