/// <summary> /// Create a new Users_Groups object. /// </summary> /// <param name="user_groupId">Initial value of the user_groupId property.</param> /// <param name="userId">Initial value of the userId property.</param> /// <param name="groupId">Initial value of the groupId property.</param> /// <param name="groupRole">Initial value of the groupRole property.</param> public static Users_Groups CreateUsers_Groups(global::System.Int64 user_groupId, global::System.Int64 userId, global::System.Int32 groupId, global::System.Byte groupRole) { Users_Groups users_Groups = new Users_Groups(); users_Groups.user_groupId = user_groupId; users_Groups.userId = userId; users_Groups.groupId = groupId; users_Groups.groupRole = groupRole; return(users_Groups); }
/// <summary> /// Deprecated Method for adding a new object to the Users_Groups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers_Groups(Users_Groups users_Groups) { base.AddObject("Users_Groups", users_Groups); }
/// <summary> /// Create a new Users_Groups object. /// </summary> /// <param name="user_groupId">Initial value of the user_groupId property.</param> /// <param name="userId">Initial value of the userId property.</param> /// <param name="groupId">Initial value of the groupId property.</param> /// <param name="groupRole">Initial value of the groupRole property.</param> public static Users_Groups CreateUsers_Groups(global::System.Int64 user_groupId, global::System.Int64 userId, global::System.Int32 groupId, global::System.Byte groupRole) { Users_Groups users_Groups = new Users_Groups(); users_Groups.user_groupId = user_groupId; users_Groups.userId = userId; users_Groups.groupId = groupId; users_Groups.groupRole = groupRole; return users_Groups; }