/// <summary> /// Deprecated Method for adding a new object to the ItemPermissionSpecificUsers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemPermissionSpecificUsers(ItemPermissionSpecificUser itemPermissionSpecificUser) { base.AddObject("ItemPermissionSpecificUsers", itemPermissionSpecificUser); }
/// <summary> /// Create a new ItemPermissionSpecificUser object. /// </summary> /// <param name="itemID">Initial value of the ItemID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="userPermission">Initial value of the UserPermission property.</param> public static ItemPermissionSpecificUser CreateItemPermissionSpecificUser(global::System.Guid itemID, global::System.Guid userID, global::System.Byte userPermission) { ItemPermissionSpecificUser itemPermissionSpecificUser = new ItemPermissionSpecificUser(); itemPermissionSpecificUser.ItemID = itemID; itemPermissionSpecificUser.UserID = userID; itemPermissionSpecificUser.UserPermission = userPermission; return itemPermissionSpecificUser; }