DbModelExtensions class

Contains several DbModel extensions

public static class Korzh.EasyQuery.Db.DbModelExtensions

Package: Korzh.EasyQuery.Db (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.Db.dll

Static Methods

Name Type Description
FillByDataTable(this DbModel model, DataTable dataTable, bool createEntity) void Fills the Korzh.EasyQuery.Db.DbModel by database table represented by System.Data.DataTable object.
FillByDbGate(this DbModel model, DbGate dbGate, DbConnectionModelLoaderOptions options = null) void Fills the model by database gate.
LoadFromConnection(this DbModel model, DbConnection connection, DbConnectionModelLoaderOptions options = null) void Populates model by information from database connection.