C# Class MyDataContext, code

Afficher le fichier Open project: shendongnian/code Class Usage Examples

Méthodes publiques

Méthode Description
AddNotification ( Notification, notificationToAdd ) : void
AddResource ( ResourceType, resourceType, object resource ) : void
CreateResource ( ResourceType, resourceType ) : object
DeleteResource ( object resource ) : void
GetQueryable ( ResourceSet, set ) : IQueryable,
MyDataContext ( DbContextOptions options )
SaveChanges ( ) : void

Méthodes protégées

Méthode Description
NotifyPropertyChanged ( string propertyName ) : void

Private Methods

Méthode Description
AddNotificationCommand ( object item ) : void
FunctionName ( ) : ReturnType,

Method Details

AddNotification() public méthode

public AddNotification ( Notification, notificationToAdd ) : void
notificationToAdd Notification,
Résultat void

AddResource() public méthode

public AddResource ( ResourceType, resourceType, object resource ) : void
resourceType ResourceType,
resource object
Résultat void

CreateResource() public méthode

public CreateResource ( ResourceType, resourceType ) : object
resourceType ResourceType,
Résultat object

DeleteResource() public méthode

public DeleteResource ( object resource ) : void
resource object
Résultat void

GetQueryable() public méthode

public GetQueryable ( ResourceSet, set ) : IQueryable,
set ResourceSet,
Résultat IQueryable,

MyDataContext() public méthode

public MyDataContext ( DbContextOptions options )
options DbContextOptions

NotifyPropertyChanged() protected méthode

protected NotifyPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

SaveChanges() public méthode

public SaveChanges ( ) : void
Résultat void