/// <summary>
 /// Deprecated Method for adding a new object to the branchgroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobranchgroups(branchgroup branchgroup)
 {
     base.AddObject("branchgroups", branchgroup);
 }
 /// <summary>
 /// Create a new branchgroup object.
 /// </summary>
 /// <param name="idBranchGroups">Initial value of the idBranchGroups property.</param>
 /// <param name="branch_id">Initial value of the branch_id property.</param>
 /// <param name="group_id">Initial value of the group_id property.</param>
 public static branchgroup Createbranchgroup(global::System.Int64 idBranchGroups, global::System.Int64 branch_id, global::System.Int64 group_id)
 {
     branchgroup branchgroup = new branchgroup();
     branchgroup.idBranchGroups = idBranchGroups;
     branchgroup.branch_id = branch_id;
     branchgroup.group_id = group_id;
     return branchgroup;
 }