public T Load <T>(int id) where T : Attributable, new()
        {
            T o = new T
            {
                ObjectID = id
            };

            Savator.FillObject(o, this);


            return(o);
        }
        public string GetQuery <T>() where T : Attributable, new()
        {
            string query = Savator.GetSelectString(new T(), false, false);

            return(query);
        }
 public void Delete <T>(T obj) where T : Attributable, new()
 {
     Savator.DeleteObject(obj, this);
 }
 public List <T> Load <T>() where T : Attributable, new()
 {
     return(Savator.FillObjectList(new T(), this));
 }
 public List <T> LoadByQuery <T>(string query) where T : Attributable, new()
 {
     return(Savator.FillObjectList <T>(query, this));
 }
 public List <T> LoadByWhere <T>(string where) where T : Attributable, new()
 {
     return(Savator.FillObjectList(new T(), where, this));
 }
 public DataTable GetDataTable <T>(string where) where T : Attributable, new()
 {
     return(Savator.GetDataTable(new T(), where, this));
 }
 public void SaveChanges <T>(T obj) where T : Attributable, new()
 {
     Savator.SaveObject(obj, this);
 }
 public void SaveChanges <T>(IEnumerable <T> list) where T : Attributable, new()
 {
     Savator.SaveObjectList(list.ToList(), this);
 }