entityframeworkextensions-class
Contains some extensions for using EasyQuery with Entity Framework.
public static class Korzh.EasyQuery.EntityFramework.EntityFrameworkExtensions
Assembly: Korzh.EasyQuery.EntityFramework6.dll
Static Methods
Name | Type | Description |
---|---|---|
LoadFromDbContext(this DbModel dbModel, DbContext context) | void | Loads the model from a database context. |
LoadFromDbContext(this DbModel dbModel, DbContext context, SqlFormats formats) | void | Loads the model from a database context. |
LoadFromDbContext(this DbModel dbModel, DbContext context, DbContextModelExtractorOptions options) | void | Loads the model from a database context. |
LoadFromEdmx(this [DbModel](/korzh-easyquery-db-namespace/dbmodel-class) model, `string` path, [EdmxModelExtractorOptions](/korzh-easyquery-entityframework-namespace/edmxmodelextractoroptions-class) options = null) | void | Loads DataModel from EDMX file |
LoadFromEdmx(this [DbModel](/korzh-easyquery-db-namespace/dbmodel-class) model, `XDocument` doc, [EdmxModelExtractorOptions](/korzh-easyquery-entityframework-namespace/edmxmodelextractoroptions-class) options = null) | void | Loads DataModel from EDMX file |