/// <summary> /// Create a new accProfilePermission object. /// </summary> /// <param name="idProfile">Initial value of the IdProfile property.</param> /// <param name="idPermission">Initial value of the IdPermission property.</param> /// <param name="create">Initial value of the Create property.</param> /// <param name="read">Initial value of the Read property.</param> /// <param name="update">Initial value of the Update property.</param> /// <param name="delete">Initial value of the Delete property.</param> public static accProfilePermission CreateaccProfilePermission(global::System.Int32 idProfile, global::System.Int32 idPermission, global::System.Boolean create, global::System.Boolean read, global::System.Boolean update, global::System.Boolean delete) { accProfilePermission accProfilePermission = new accProfilePermission(); accProfilePermission.IdProfile = idProfile; accProfilePermission.IdPermission = idPermission; accProfilePermission.Create = create; accProfilePermission.Read = read; accProfilePermission.Update = update; accProfilePermission.Delete = delete; return(accProfilePermission); }
/// <summary> /// Deprecated Method for adding a new object to the accProfilePermissions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToaccProfilePermissions(accProfilePermission accProfilePermission) { base.AddObject("accProfilePermissions", accProfilePermission); }