ObjectContextExtensions 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 ObjectContext extension methods useful to LinqToEntitiesDomainService<TContext> authors.
Inheritance Hierarchy
System.Object
System.ServiceModel.DomainServices.EntityFramework.ObjectContextExtensions
Namespace: System.ServiceModel.DomainServices.EntityFramework
Assembly: System.ServiceModel.DomainServices.EntityFramework (in System.ServiceModel.DomainServices.EntityFramework.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ObjectContextExtensions
'Usage
public static class ObjectContextExtensions
[ExtensionAttribute]
public ref class ObjectContextExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ObjectContextExtensions = class end
public final class ObjectContextExtensions
Methods
Name | Description | |
---|---|---|
AttachAsModified<T>(ObjectSet<T>, T) | Attaches the specified entity as modified. | |
AttachAsModified<T>(ObjectSet<T>, T, T) | Attaches the specified entity as modified, with the specified original state. |
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.EntityFramework Namespace