/// <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> public static Branch CreateBranch(global::System.Int32 branchId, global::System.String name) { Branch branch = new Branch(); branch.BranchId = branchId; branch.name = name; return branch; }
/// <summary> /// Deprecated Method for adding a new object to the Branches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBranches(Branch branch) { base.AddObject("Branches", branch); }