Skip to content

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

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