/// <summary>
 /// Deprecated Method for adding a new object to the Permissions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPermissions(Permission permission)
 {
     base.AddObject("Permissions", permission);
 }
 /// <summary>
 /// Create a new Permission object.
 /// </summary>
 /// <param name="permissionID">Initial value of the PermissionID property.</param>
 /// <param name="operationID">Initial value of the OperationID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="allow">Initial value of the Allow property.</param>
 public static Permission CreatePermission(global::System.Int32 permissionID, global::System.Int32 operationID, global::System.Int32 userID, global::System.Boolean allow)
 {
     Permission permission = new Permission();
     permission.PermissionID = permissionID;
     permission.OperationID = operationID;
     permission.UserID = userID;
     permission.Allow = allow;
     return permission;
 }