Compartilhar via


ObjectContextExtensions.AttachAsModified Method

Include Protected Members
Include Inherited Members

[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.]

Attaches the specified entity as modified.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member AttachAsModified<T>(ObjectSet<T>, T) Attaches the specified entity as modified.
Public methodStatic member AttachAsModified<T>(ObjectSet<T>, T, T) Attaches the specified entity as modified, with the specified original state.

Top

See Also

Reference

ObjectContextExtensions Class

System.ServiceModel.DomainServices.EntityFramework Namespace