Custom PageModel for CSLA .NET More...
Public Member Functions | |
async Task< bool > | SaveAsync (bool forceUpdate=false) |
Save the Item More... | |
PropertyInfo | GetPropertyInfo (string propertyName) |
Get a PropertyInfo object for a property of the Model. More... | |
Static Public Member Functions | |
static bool | CanCreateItem () |
Gets a value indicating whether the current user is authorized to create an instance of the business domain type More... | |
static bool | CanGetItem () |
Gets a value indicating whether the current user is authorized to retrieve an instance of the business domain type More... | |
static bool | CanEditItem () |
Gets a value indicating whether the current user is authorized to edit/save an instance of the business domain type More... | |
static bool | CanDeleteItem () |
Gets a value indicating whether the current user is authorized to delete an instance of the business domain type More... | |
Properties | |
T | Item [getset] |
Gets or sets the business domain model object. More... | |
Custom PageModel for CSLA .NET
T | : | ISavable |
Definition at line 23 of file PageModel.cs.
|
static |
Gets a value indicating whether the current user is authorized to create an instance of the business domain type
Definition at line 117 of file PageModel.cs.
|
static |
Gets a value indicating whether the current user is authorized to delete an instance of the business domain type
Definition at line 150 of file PageModel.cs.
|
static |
Gets a value indicating whether the current user is authorized to edit/save an instance of the business domain type
Definition at line 139 of file PageModel.cs.
|
static |
Gets a value indicating whether the current user is authorized to retrieve an instance of the business domain type
Definition at line 128 of file PageModel.cs.
PropertyInfo Csla.AspNetCore.RazorPages.PageModel< T >.GetPropertyInfo | ( | string | propertyName | ) |
Get a PropertyInfo object for a property of the Model.
PropertyInfo provides access to the metastate of the property.
propertyName | Property name |
Definition at line 101 of file PageModel.cs.
async Task< bool > Csla.AspNetCore.RazorPages.PageModel< T >.SaveAsync | ( | bool | forceUpdate = false | ) |
Save the Item
forceUpdate | Indicates whether an update operation should be forced. |
Definition at line 37 of file PageModel.cs.
|
getset |
Gets or sets the business domain model object.
Definition at line 30 of file PageModel.cs.