Retrieves a single record and returns it as an entity
public bool GetEntity(object entity, string sql, Object[] parameters)
Parameters
entity
sql
parameters
DbParameters (CreateParameter()) for named parameters
or use @0,@1 parms in SQL and plain values
Overloads:
public virtual bool GetEntity(object entity, DbCommand command, string propertiesToSkip)
public virtual bool GetEntity(object entity, string table, string keyField, object keyValue, string propertiesToSkip)
See also:
Class DataAccessBase© West Wind Technologies, 1996-2023 • Updated: 07/15/20
Comment or report problem with topic