Example #1
0
 public TEntity GetById(int id)
 {
     using (var db = new FbConnection(ConnectionString))
     {
         return(db.Get <TEntity>(id));
     }
 }