コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FilePermissions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFilePermissions(FilePermission filePermission)
 {
     base.AddObject("FilePermissions", filePermission);
 }
コード例 #2
0
 /// <summary>
 /// Create a new FilePermission object.
 /// </summary>
 /// <param name="filePermissionID">Initial value of the FilePermissionID property.</param>
 /// <param name="permissionID">Initial value of the PermissionID property.</param>
 /// <param name="groupID">Initial value of the GroupID property.</param>
 public static FilePermission CreateFilePermission(global::System.Int32 filePermissionID, global::System.Int32 permissionID, global::System.Int32 groupID)
 {
     FilePermission filePermission = new FilePermission();
     filePermission.FilePermissionID = filePermissionID;
     filePermission.PermissionID = permissionID;
     filePermission.GroupID = groupID;
     return filePermission;
 }