EdmxLoader
Loads and parses EDMX files, extracting Entity Data Model components and EasyAF extensions.Syntax
Inheritance
Constructors
EdmxLoader
EdmxLoader
Parameters
- filePath string: The path to the EDMX file to load.
Exceptions
[ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception): Thrown when the file path does not exist or is not an EDMX file.
Properties
CsdlElement
Returns
XElementEdmItems
Returns
EdmItemCollectionEdmxSchemaErrors
Returns
List<CompilerError>Entities
Returns
List<EntityComposition>EntityContainer
Returns
EntityContainerEntitySets
Returns
List<EntitySet>FilePath
Returns
stringIsEFCore
Returns
boolMappings
Returns
StorageMappingItemCollectionModelNamespace
Returns
stringMslElement
Returns
XElementOnModelCreatingMethod
Returns
string The complete C# OnModelCreating method including signature and braces as a string. Returns an empty string if no OnModelCreating method is found in the EDMX file.SsdlElement
Returns
XElementStoreItems
Returns
StoreItemCollectionMethods
Load
Parameters
- fixProvider bool: Whether to fix the provider attribute to use System.Data.SqlClient.