C# 클래스 ERP.Web.UserRegistrationContext

The domain context corresponding to the 'UserRegistrationService' domain service.
상속: DomainContext
파일 보기 프로젝트 열기: arthurgfonseca/ERP-Grupo5

공개 메소드들

메소드 설명
CreateUser ( RegistrationData user, [ ErrorMessageResourceName ) : InvokeOperation

Asynchronously invokes the 'CreateUser' method of the domain service.

CreateUser ( RegistrationData user, [ ErrorMessageResourceName, Action callback, object userState ) : InvokeOperation

Asynchronously invokes the 'CreateUser' method of the domain service.

CreateUser ( RegistrationData user, string password ) : InvokeOperation

Asynchronously invokes the 'CreateUser' method of the domain service.

CreateUser ( RegistrationData user, string password, Action callback, object userState ) : InvokeOperation

Asynchronously invokes the 'CreateUser' method of the domain service.

GetUsersQuery ( ) : EntityQuery

Gets an EntityQuery instance that can be used to load RegistrationData entities using the 'GetUsers' query.

UserRegistrationContext ( ) : System

Initializes a new instance of the UserRegistrationContext class.

UserRegistrationContext ( DomainClient domainClient ) : System

Initializes a new instance of the UserRegistrationContext class with the specified domainClient.

UserRegistrationContext ( Uri serviceUri ) : System

Initializes a new instance of the UserRegistrationContext class with the specified service URI.

보호된 메소드들

메소드 설명
CreateEntityContainer ( ) : EntityContainer

Creates a new entity container for this domain context's entity sets.

비공개 메소드들

메소드 설명
OnCreated ( ) : void

This method is invoked from the constructor once initialization is complete and can be used for further object setup.

메소드 상세

CreateEntityContainer() 보호된 메소드

Creates a new entity container for this domain context's entity sets.
protected CreateEntityContainer ( ) : EntityContainer
리턴 EntityContainer

CreateUser() 공개 메소드

Asynchronously invokes the 'CreateUser' method of the domain service.
public CreateUser ( RegistrationData user, [ ErrorMessageResourceName ) : InvokeOperation
user RegistrationData The value for the 'user' parameter of this action.
ErrorMessageResourceName [
리턴 InvokeOperation

CreateUser() 공개 메소드

Asynchronously invokes the 'CreateUser' method of the domain service.
public CreateUser ( RegistrationData user, [ ErrorMessageResourceName, Action callback, object userState ) : InvokeOperation
user RegistrationData The value for the 'user' parameter of this action.
ErrorMessageResourceName [
callback Action Callback to invoke when the operation completes.
userState object Value to pass to the callback. It can be null.
리턴 InvokeOperation

CreateUser() 공개 메소드

Asynchronously invokes the 'CreateUser' method of the domain service.
public CreateUser ( RegistrationData user, string password ) : InvokeOperation
user RegistrationData The value for the 'user' parameter of this action.
password string The value for the 'password' parameter of this action.
리턴 InvokeOperation

CreateUser() 공개 메소드

Asynchronously invokes the 'CreateUser' method of the domain service.
public CreateUser ( RegistrationData user, string password, Action callback, object userState ) : InvokeOperation
user RegistrationData The value for the 'user' parameter of this action.
password string The value for the 'password' parameter of this action.
callback Action Callback to invoke when the operation completes.
userState object Value to pass to the callback. It can be null.
리턴 InvokeOperation

GetUsersQuery() 공개 메소드

Gets an EntityQuery instance that can be used to load RegistrationData entities using the 'GetUsers' query.
public GetUsersQuery ( ) : EntityQuery
리턴 EntityQuery

UserRegistrationContext() 공개 메소드

Initializes a new instance of the UserRegistrationContext class.
public UserRegistrationContext ( ) : System
리턴 System

UserRegistrationContext() 공개 메소드

Initializes a new instance of the UserRegistrationContext class with the specified domainClient.
public UserRegistrationContext ( DomainClient domainClient ) : System
domainClient DomainClient The DomainClient instance to use for this domain context.
리턴 System

UserRegistrationContext() 공개 메소드

Initializes a new instance of the UserRegistrationContext class with the specified service URI.
public UserRegistrationContext ( Uri serviceUri ) : System
serviceUri System.Uri The UserRegistrationService service URI.
리턴 System