ObjectContextExtensions Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Contains ObjectContext extension methods.
Inheritance Hierarchy
System.Object
System.Web.Http.Data.EntityFramework.ObjectContextExtensions
Namespace: System.Web.Http.Data.EntityFramework
Assembly: System.Web.Http.Data.EntityFramework (in System.Web.Http.Data.EntityFramework.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ObjectContextExtensions
public static class ObjectContextExtensions
[ExtensionAttribute]
public ref class ObjectContextExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ObjectContextExtensions = class end
public final class ObjectContextExtensions
Methods
Name | Description | |
---|---|---|
AttachAsModified<TEntity>(ObjectSet<TEntity>, TEntity) | Attaches the specified entity as modified. | |
AttachAsModified<TEntity>(ObjectSet<TEntity>, TEntity, TEntity) | 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.