Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Branches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBranches(Branch branch)
 {
     base.AddObject("Branches", branch);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Branch object.
 /// </summary>
 /// <param name="branchID">Initial value of the BranchID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="contactID">Initial value of the ContactID property.</param>
 public static Branch CreateBranch(global::System.Int32 branchID, global::System.String name, global::System.Int32 contactID)
 {
     Branch branch = new Branch();
     branch.BranchID = branchID;
     branch.Name = name;
     branch.ContactID = contactID;
     return branch;
 }