Exemplo n.º 1
0
 public AccountEdit(NotifyObject no, tbl_Account item)
 {
     InitializeComponent();
     notifyObj = no;
     account = item;
     grMain.DataContext = account;
 }
 /// <summary>
 /// Create a new tbl_Account 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_Account Createtbl_Account(global::System.Guid id, global::System.String name)
 {
     tbl_Account tbl_Account = new tbl_Account();
     tbl_Account.ID = id;
     tbl_Account.Name = name;
     return tbl_Account;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_Account EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_Account(tbl_Account tbl_Account)
 {
     base.AddObject("tbl_Account", tbl_Account);
 }