Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PermissionGroupPermissions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPermissionGroupPermissions(DBPermissionGroupPermission dBPermissionGroupPermission)
 {
     base.AddObject("PermissionGroupPermissions", dBPermissionGroupPermission);
 }
Example #2
0
 /// <summary>
 /// Create a new DBPermissionGroupPermission object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="groupId">Initial value of the GroupId property.</param>
 /// <param name="permissionId">Initial value of the PermissionId property.</param>
 /// <param name="permissionState">Initial value of the PermissionState property.</param>
 public static DBPermissionGroupPermission CreateDBPermissionGroupPermission(global::System.Int32 id, global::System.Int32 groupId, global::System.Int32 permissionId, global::System.String permissionState)
 {
     DBPermissionGroupPermission dBPermissionGroupPermission = new DBPermissionGroupPermission();
     dBPermissionGroupPermission.Id = id;
     dBPermissionGroupPermission.GroupId = groupId;
     dBPermissionGroupPermission.PermissionId = permissionId;
     dBPermissionGroupPermission.PermissionState = permissionState;
     return dBPermissionGroupPermission;
 }