The BuilderLeadsEntities type exposes the following members.

Constructors

  NameDescription
Public methodBuilderLeadsEntities()()()()
Initializes a new BuilderLeadsEntities object using the connection string found in the 'BuilderLeadsEntities' section of the application configuration file.
Public methodBuilderLeadsEntities(EntityConnection)
Initialize a new BuilderLeadsEntities object.
Public methodBuilderLeadsEntities(String)
Initialize a new BuilderLeadsEntities object.

Methods

  NameDescription
Public methodAcceptAllChanges
Accepts all changes made to objects in the object context.
(Inherited from ObjectContext.)
Public methodAddObject
Adds an object to the object context.
(Inherited from ObjectContext.)
Public methodAddToBuilderLeads
Deprecated Method for adding a new object to the BuilderLeads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
Public methodApplyCurrentValues<(Of <<'(TEntity>)>>)
Sets the CurrentValues property of the ObjectStateEntry to match the property values of a supplied object.
(Inherited from ObjectContext.)
Public methodApplyOriginalValues<(Of <<'(TEntity>)>>)
Sets the OriginalValues property of the ObjectStateEntry to match the property values of a supplied object.
(Inherited from ObjectContext.)
Public methodApplyPropertyChanges Obsolete.
Applies property changes from a detached object to an object already attached to the object context.
(Inherited from ObjectContext.)
Public methodAttach
Attaches an object or object graph to the object context when the object has an entity key.
(Inherited from ObjectContext.)
Public methodAttachTo
Attaches an object or object graph to the object context in a specific entity set.
(Inherited from ObjectContext.)
Public methodCreateDatabase
Creates the database by using the current data source connection and the metadata in the StoreItemCollection.
(Inherited from ObjectContext.)
Public methodCreateDatabaseScript
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.)
Public methodCreateEntityKey
Creates the entity key for a specific object, or returns the entity key if it already exists.
(Inherited from ObjectContext.)
Public methodCreateObject<(Of <<'(T>)>>)
Creates and returns an instance of the requested type .
(Inherited from ObjectContext.)
Public methodCreateObjectSet<(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.)
Public methodCreateObjectSet<(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.)
Public methodCreateProxyTypes
Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration.
(Inherited from ObjectContext.)
Public methodCreateQuery<(Of <<'(T>)>>)
Creates an ObjectQuery<(Of <(<'T>)>)> in the current object context by using the specified query string.
(Inherited from ObjectContext.)
Public methodDatabaseExists
Checks if the database that is specified as the database in the current data source connection exists on the data source.
(Inherited from ObjectContext.)
Public methodDeleteDatabase
Deletes the database that is specified as the database in the current data source connection.
(Inherited from ObjectContext.)
Public methodDeleteObject
Marks an object for deletion.
(Inherited from ObjectContext.)
Public methodDetach
Removes the object from the object context.
(Inherited from ObjectContext.)
Public methodDetectChanges
Ensures that ObjectStateEntry changes are synchronized with changes in all objects that are tracked by the ObjectStateManager.
(Inherited from ObjectContext.)
Public methodDispose()()()()
Releases the resources used by the object context.
(Inherited from ObjectContext.)
Protected methodDispose(Boolean)
Releases the resources used by the object context.
(Inherited from ObjectContext.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecuteFunction<(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.)
Public methodExecuteFunction<(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.)
Public methodExecuteStoreCommand
Executes an arbitrary command directly against the data source using the existing connection.
(Inherited from ObjectContext.)
Public methodExecuteStoreQuery<(Of <<'(TElement>)>>)(String, array<Object>[]()[][])
Executes a query directly against the data source that returns a sequence of typed results.
(Inherited from ObjectContext.)
Public methodExecuteStoreQuery<(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.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectByKey
Returns an object that has the specified entity key.
(Inherited from ObjectContext.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadProperty(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.)
Public methodLoadProperty(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.)
Public methodLoadProperty``1(UMP, Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>)) (Inherited from ObjectContext.)
Public methodLoadProperty``1(UMP, Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>), Boolean) (Inherited from ObjectContext.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefresh(RefreshMode, IEnumerable)
Updates a collection of objects in the object context with data from the data source.
(Inherited from ObjectContext.)
Public methodRefresh(RefreshMode, Object)
Updates an object in the object context with data from the data source.
(Inherited from ObjectContext.)
Public methodSaveChanges()()()()
Persists all updates to the data source and resets change tracking in the object context.
(Inherited from ObjectContext.)
Public methodSaveChanges(Boolean) Obsolete.
Persists all updates to the data source and optionally resets change tracking in the object context.
(Inherited from ObjectContext.)
Public methodSaveChanges(SaveOptions)
Persists all updates to the data source with the specified SaveOptions.
(Inherited from ObjectContext.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTranslate<(Of <<'(TElement>)>>)(DbDataReader)
Translates a DbDataReader that contains rows of entity data to objects of the requested entity type.
(Inherited from ObjectContext.)
Public methodTranslate<(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.)
Public methodTryGetObjectByKey
Returns an object that has the specified entity key.
(Inherited from ObjectContext.)

Properties

  NameDescription
Public propertyBuilderLeads
No Metadata Documentation available.
Public propertyCommandTimeout
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.)
Public propertyConnection
Gets the connection used by the object context.
(Inherited from ObjectContext.)
Public propertyContextOptions
Gets the ObjectContextOptions instance that contains options that affect the behavior of the ObjectContext.
(Inherited from ObjectContext.)
Public propertyDefaultContainerName
Gets or sets the default container name.
(Inherited from ObjectContext.)
Public propertyMetadataWorkspace
Gets the metadata workspace used by the object context.
(Inherited from ObjectContext.)
Public propertyObjectStateManager
Gets the object state manager used by the object context to track object changes.
(Inherited from ObjectContext.)
Protected propertyQueryProvider
Gets the LINQ query provider associated with this object context.
(Inherited from ObjectContext.)

Events

  NameDescription
Public eventObjectMaterialized
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.)
Public eventSavingChanges
Occurs when changes are saved to the data source.
(Inherited from ObjectContext.)

See Also