dynamic FnGetDatabaseObjects(Type elementType)
 {
     using (DbConnection dbconnection = new System.Data.SqlClient.SqlConnection(this.connectionString))
     {
         dbconnection.Open();
         var processor = new DbQueryProcessor(dbconnection);
         return(processor.Execute(elementType));
     }
 }
 public object GetObject()
 {
     using (DbConnection dbconnection = new System.Data.SqlClient.SqlConnection(this.connectionString))
     {
         dbconnection.Open();
         var processor = new DbQueryProcessor(dbconnection);
         return(processor.Execute <Order>().First());
     }
 }