ObjectContext Properties

The ObjectContext type exposes the following members.

  NameDescription
Public property CommandTimeout Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used.
Public property Connection Gets the connection used by the object context.
Public property ContextOptions Gets the ObjectContextOptions instance that contains options that affect the behavior of the ObjectContext.
Public property DefaultContainerName Gets or sets the default container name.
Public property MetadataWorkspace Gets the metadata workspace used by the object context.
Public property ObjectStateManager Gets the object state manager used by the object context to track object changes.
Protected property QueryProvider Gets the LINQ query provider associated with this object context.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft