MetadataWorkspace.LoadFromAssembly Method

 

Loads the metadata from the given assembly.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodLoadFromAssembly(Assembly)

Loads metadata from the given assembly.

System_CAPS_pubmethodLoadFromAssembly(Assembly, Action<String>)

Loads metadata from the given assembly.


MetadataWorkspace.LoadFromAssembly Method (Assembly)

Loads metadata from the given assembly.

public virtual void LoadFromAssembly(
	Assembly assembly
)

Parameters

assembly
Type: System.Reflection.Assembly

The assembly from which the metadata will be loaded.


MetadataWorkspace.LoadFromAssembly Method (Assembly, Action<String>)

Loads metadata from the given assembly.

public virtual void LoadFromAssembly(
	Assembly assembly,
	Action<string> logLoadMessage
)

Parameters

assembly
Type: System.Reflection.Assembly

The assembly from which the metadata will be loaded.

logLoadMessage
Type: System.Action<String>

The delegate for logging the load messages.