The BuilderLeadsEntities type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BuilderLeadsEntities()()()() |
Initializes a new BuilderLeadsEntities object using the connection string found in the 'BuilderLeadsEntities' section of the application configuration file.
| |
| BuilderLeadsEntities(EntityConnection) |
Initialize a new BuilderLeadsEntities object.
| |
| BuilderLeadsEntities(String) |
Initialize a new BuilderLeadsEntities object.
|
Methods
| Name | Description | |
|---|---|---|
| AcceptAllChanges | Accepts all changes made to objects in the object context. (Inherited from ObjectContext.) | |
| AddObject | Adds an object to the object context. (Inherited from ObjectContext.) | |
| AddToBuilderLeads |
Deprecated Method for adding a new object to the BuilderLeads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
| |
| ApplyCurrentValues<(Of <<'(TEntity>)>>) | Sets the CurrentValues property of the ObjectStateEntry to match the property values of a supplied object. (Inherited from ObjectContext.) | |
| ApplyOriginalValues<(Of <<'(TEntity>)>>) | Sets the OriginalValues property of the ObjectStateEntry to match the property values of a supplied object. (Inherited from ObjectContext.) | |
| ApplyPropertyChanges | Obsolete. Applies property changes from a detached object to an object already attached to the object context. (Inherited from ObjectContext.) | |
| Attach | Attaches an object or object graph to the object context when the object has an entity key. (Inherited from ObjectContext.) | |
| AttachTo | Attaches an object or object graph to the object context in a specific entity set. (Inherited from ObjectContext.) | |
| CreateDatabase | Creates the database by using the current data source connection and the metadata in the StoreItemCollection. (Inherited from ObjectContext.) | |
| CreateDatabaseScript | Generates a data definition langauge (DDL) script that creates schema objects (tables, primary keys, foreign keys) for the metadata in the StoreItemCollection. (Inherited from ObjectContext.) | |
| CreateEntityKey | Creates the entity key for a specific object, or returns the entity key if it already exists. (Inherited from ObjectContext.) | |
| CreateObject<(Of <<'(T>)>>) | Creates and returns an instance of the requested type . (Inherited from ObjectContext.) | |
| CreateObjectSet<(Of <<'(TEntity>)>>)()()()() | Creates a new ObjectSet<(Of <(<'TEntity>)>)> instance that is used to query, add, modify, and delete objects of the specified entity type. (Inherited from ObjectContext.) | |
| CreateObjectSet<(Of <<'(TEntity>)>>)(String) | Creates a new ObjectSet<(Of <(<'TEntity>)>)> instance that is used to query, add, modify, and delete objects of the specified type and with the specified entity set name. (Inherited from ObjectContext.) | |
| CreateProxyTypes | Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration. (Inherited from ObjectContext.) | |
| CreateQuery<(Of <<'(T>)>>) | Creates an ObjectQuery<(Of <(<'T>)>)> in the current object context by using the specified query string. (Inherited from ObjectContext.) | |
| DatabaseExists | Checks if the database that is specified as the database in the current data source connection exists on the data source. (Inherited from ObjectContext.) | |
| DeleteDatabase | Deletes the database that is specified as the database in the current data source connection. (Inherited from ObjectContext.) | |
| DeleteObject | Marks an object for deletion. (Inherited from ObjectContext.) | |
| Detach | Removes the object from the object context. (Inherited from ObjectContext.) | |
| DetectChanges | Ensures that ObjectStateEntry changes are synchronized with changes in all objects that are tracked by the ObjectStateManager. (Inherited from ObjectContext.) | |
| Dispose()()()() | Releases the resources used by the object context. (Inherited from ObjectContext.) | |
| Dispose(Boolean) | Releases the resources used by the object context. (Inherited from ObjectContext.) | |
| Equals | (Inherited from Object.) | |
| ExecuteFunction<(Of <<'(TElement>)>>)(String, array<ObjectParameter>[]()[][]) | Executes a stored procedure or function that is defined in the data source and mapped in the conceptual model, with the specified parameters. Returns a typed ObjectResult<(Of <(<'T>)>)>. (Inherited from ObjectContext.) | |
| ExecuteFunction<(Of <<'(TElement>)>>)(String, MergeOption, array<ObjectParameter>[]()[][]) | Executes the given stored procedure or function that is defined in the data source and expressed in the conceptual model, with the specified parameters, and merge option. Returns a typed ObjectResult<(Of <(<'T>)>)>. (Inherited from ObjectContext.) | |
| ExecuteStoreCommand | Executes an arbitrary command directly against the data source using the existing connection. (Inherited from ObjectContext.) | |
| ExecuteStoreQuery<(Of <<'(TElement>)>>)(String, array<Object>[]()[][]) | Executes a query directly against the data source that returns a sequence of typed results. (Inherited from ObjectContext.) | |
| ExecuteStoreQuery<(Of <<'(TEntity>)>>)(String, String, MergeOption, array<Object>[]()[][]) | Executes a query directly against the data source and returns a sequence of typed results. Specify the entity set and the merge option so that query results can be tracked as entities. (Inherited from ObjectContext.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetObjectByKey | Returns an object that has the specified entity key. (Inherited from ObjectContext.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LoadProperty(Object, String) | Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option. (Inherited from ObjectContext.) | |
| LoadProperty(Object, String, MergeOption) | Explicitly loads an object that is related to the supplied object by the specified navigation property and using the specified merge option. (Inherited from ObjectContext.) | |
| LoadProperty``1(UMP, Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>)) | (Inherited from ObjectContext.) | |
| LoadProperty``1(UMP, Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>), Boolean) | (Inherited from ObjectContext.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Refresh(RefreshMode, IEnumerable) | Updates a collection of objects in the object context with data from the data source. (Inherited from ObjectContext.) | |
| Refresh(RefreshMode, Object) | Updates an object in the object context with data from the data source. (Inherited from ObjectContext.) | |
| SaveChanges()()()() | Persists all updates to the data source and resets change tracking in the object context. (Inherited from ObjectContext.) | |
| SaveChanges(Boolean) | Obsolete. Persists all updates to the data source and optionally resets change tracking in the object context. (Inherited from ObjectContext.) | |
| SaveChanges(SaveOptions) | Persists all updates to the data source with the specified SaveOptions. (Inherited from ObjectContext.) | |
| ToString | (Inherited from Object.) | |
| Translate<(Of <<'(TElement>)>>)(DbDataReader) | Translates a DbDataReader that contains rows of entity data to objects of the requested entity type. (Inherited from ObjectContext.) | |
| Translate<(Of <<'(TEntity>)>>)(DbDataReader, String, MergeOption) | Translates a DbDataReader that contains rows of entity data to objects of the requested entity type, in a specific entity set, and with the specified merge option. (Inherited from ObjectContext.) | |
| TryGetObjectByKey | Returns an object that has the specified entity key. (Inherited from ObjectContext.) |
Properties
| Name | Description | |
|---|---|---|
| BuilderLeads |
No Metadata Documentation available.
| |
| 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. (Inherited from ObjectContext.) | |
| Connection | Gets the connection used by the object context. (Inherited from ObjectContext.) | |
| ContextOptions | Gets the ObjectContextOptions instance that contains options that affect the behavior of the ObjectContext. (Inherited from ObjectContext.) | |
| DefaultContainerName | Gets or sets the default container name. (Inherited from ObjectContext.) | |
| MetadataWorkspace | Gets the metadata workspace used by the object context. (Inherited from ObjectContext.) | |
| ObjectStateManager | Gets the object state manager used by the object context to track object changes. (Inherited from ObjectContext.) | |
| QueryProvider | Gets the LINQ query provider associated with this object context. (Inherited from ObjectContext.) |
Events
| Name | Description | |
|---|---|---|
| ObjectMaterialized | Occurs when a new entity object is created from data in the data source as part of a query or load operation. (Inherited from ObjectContext.) | |
| SavingChanges | Occurs when changes are saved to the data source. (Inherited from ObjectContext.) |