AuthenticationDomainContextBase Class
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Provides the domain context generated as the base class for providers implementing IAuthentication<T>.
Inheritance Hierarchy
System.Object
System.ServiceModel.DomainServices.Client.DomainContext
System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationDomainContextBase
Namespace: System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)
Syntax
'Declaration
<DomainIdentifierAttribute("Authentication", IsApplicationService := True)> _
Public MustInherit Class AuthenticationDomainContextBase _
Inherits DomainContext
'Usage
Dim instance As AuthenticationDomainContextBase
[DomainIdentifierAttribute("Authentication", IsApplicationService = true)]
public abstract class AuthenticationDomainContextBase : DomainContext
[DomainIdentifierAttribute(L"Authentication", IsApplicationService = true)]
public ref class AuthenticationDomainContextBase abstract : public DomainContext
[<AbstractClassAttribute>]
[<DomainIdentifierAttribute("Authentication", IsApplicationService = true)>]
type AuthenticationDomainContextBase =
class
inherit DomainContext
end
public abstract class AuthenticationDomainContextBase extends DomainContext
The AuthenticationDomainContextBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AuthenticationDomainContextBase | Initializes a new instance of the AuthenticationDomainContextBase class. |
Top
Properties
Name | Description | |
---|---|---|
DomainClient | Gets the DomainClient for this context. (Inherited from DomainContext.) | |
EntityContainer | Gets the EntityContainer holding all entities loaded by this context. (Inherited from DomainContext.) | |
HasChanges | Gets a value indicating whether this context has any pending changes. (Inherited from DomainContext.) | |
IsLoading | Gets a value indicating whether this DomainContext is currently performing a load operation. (Inherited from DomainContext.) | |
IsSubmitting | Gets a value indicating whether this DomainContext is currently performing a submit operation. (Inherited from DomainContext.) | |
ValidationContext | Gets or sets the Silverlight ValidationContext to use for all validation operations invoked by the DomainContext. (Inherited from DomainContext.) |
Top
Methods
Name | Description | |
---|---|---|
AddReference | Adds a reference to an external DomainContext. (Inherited from DomainContext.) | |
CreateEntityContainer | Creates and returns an entity container configured with EntitySet objects for all entities this DomainContext will provide access to. (Inherited from DomainContext.) | |
CreateQuery<TEntity> | Creates an EntityQuery. (Inherited from DomainContext.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InvokeOperation(String, Type, IDictionary<String, Object>, Boolean, Action<InvokeOperation>, Object) | Executes an invoke operation. (Inherited from DomainContext.) | |
InvokeOperation<TValue>(String, Type, IDictionary<String, Object>, Boolean, Action<InvokeOperation<TValue>>, Object) | Executes an invoke operation. (Inherited from DomainContext.) | |
Load(EntityQuery, LoadBehavior, Action<LoadOperation>, Object) | Initiates a load operation for the specified query with the specified load behavior, callback method, and user state. (Inherited from DomainContext.) | |
Load<TEntity>(EntityQuery<TEntity>) | Initiates a load operation for the specified query. (Inherited from DomainContext.) | |
Load<TEntity>(EntityQuery<TEntity>, Boolean) | Initiates a load operation for the specified query with the specified value indicating whether an error results in an exception. (Inherited from DomainContext.) | |
Load<TEntity>(EntityQuery<TEntity>, Action<LoadOperation<TEntity>>, Object) | Initiates a load operation for the specified query with the specified callback method, and user state. (Inherited from DomainContext.) | |
Load<TEntity>(EntityQuery<TEntity>, LoadBehavior, Boolean) | Initiates a load operation for the specified query with the specified load behavior, and value indicating whether an error results in an exception. (Inherited from DomainContext.) | |
Load<TEntity>(EntityQuery<TEntity>, LoadBehavior, Action<LoadOperation<TEntity>>, Object) | Initiates a load operation for the specified query with the specified load behavior, callback method, and user state. (Inherited from DomainContext.) | |
MemberwiseClone | (Inherited from Object.) | |
RaisePropertyChanged | Raises the PropertyChanged event for the specified property. (Inherited from DomainContext.) | |
RejectChanges | Reverts all pending changes for this DomainContext. (Inherited from DomainContext.) | |
SubmitChanges() | Submits all pending changes to the domain service. (Inherited from DomainContext.) | |
SubmitChanges(Action<SubmitOperation>, Object) | Submits all pending changes to the domain service. (Inherited from DomainContext.) | |
ToString | (Inherited from Object.) | |
ValidateMethod | Validates a method call. (Inherited from DomainContext.) |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Raised whenever a DomainContext property changes. (Inherited from DomainContext.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
System.ServiceModel.DomainServices.Client.ApplicationServices Namespace