Ejemplo n.º 1
0
 public static MailLog Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <MailLog>(reader, "MailLog", otherwise));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Loads a record from the AutocompletePhrase table in the database given the supplied Sql command object.
 /// You can use just a WHERE clause as your Sql - see example.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>
 /// var sql = new Sql("where name=", Web.Request["name"].SqlizeText());
 /// var g = GenTest.Load(sql);
 /// </example>
 /// <param name="sql"></param>
 /// <returns>An instance of AutocompletePhrase containing the data in the record</returns>
 public static AutocompletePhrase Load(Sql sql)
 {
     return(ActiveRecordLoader.Load <AutocompletePhrase>(sql, "AutocompletePhrase"));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the AutocompletePhrase table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of AutocompletePhrase containing the data in the record</returns>
 public static AutocompletePhrase Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <AutocompletePhrase>(reader, "AutocompletePhrase"));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Loads a record from the ArticleDocument table in the database given the supplied Sql command object.
 /// You can use just a WHERE clause as your Sql - see example.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>
 /// var sql = new Sql("where name=", Web.Request["name"].SqlizeText());
 /// var g = GenTest.Load(sql);
 /// </example>
 /// <param name="sql"></param>
 /// <returns>An instance of ArticleDocument containing the data in the record</returns>
 public static ArticleDocument Load(Sql sql)
 {
     return(ActiveRecordLoader.Load <ArticleDocument>(sql, "ArticleDocument"));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the ArticleDocument table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of ArticleDocument containing the data in the record</returns>
 public static ArticleDocument Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <ArticleDocument>(reader, "ArticleDocument"));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Loads a record from the GalleryCategory table in the database given the supplied Sql command object.
 /// You can use just a WHERE clause as your Sql - see example.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>
 /// var sql = new Sql("where name=", Web.Request["name"].SqlizeText());
 /// var g = GenTest.Load(sql);
 /// </example>
 /// <param name="sql"></param>
 /// <returns>An instance of GalleryCategory containing the data in the record</returns>
 public static GalleryCategory Load(Sql sql)
 {
     return(ActiveRecordLoader.Load <GalleryCategory>(sql, "GalleryCategory"));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the GalleryCategory table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of GalleryCategory containing the data in the record</returns>
 public static GalleryCategory Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <GalleryCategory>(reader, "GalleryCategory"));
 }
Ejemplo n.º 8
0
 public static ShoppingCart Load(Sql sql, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <ShoppingCart>(sql, "ShoppingCart", otherwise));
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the ShoppingCart table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of ShoppingCart containing the data in the record</returns>
 public static ShoppingCart Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <ShoppingCart>(reader, "ShoppingCart"));
 }
Ejemplo n.º 10
0
 public static HomepageSlide Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <HomepageSlide>(reader, "HomepageSlide", otherwise));
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Loads a record from the ShoppingCart table in the database given the supplied Sql command object.
 /// You can use just a WHERE clause as your Sql - see example.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>
 /// var sql = new Sql("where name=", Web.Request["name"].SqlizeText());
 /// var g = GenTest.Load(sql);
 /// </example>
 /// <param name="sql"></param>
 /// <returns>An instance of ShoppingCart containing the data in the record</returns>
 public static ShoppingCart Load(Sql sql)
 {
     return(ActiveRecordLoader.Load <ShoppingCart>(sql, "ShoppingCart"));
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the HomepageSlide table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of HomepageSlide containing the data in the record</returns>
 public static HomepageSlide Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <HomepageSlide>(reader, "HomepageSlide"));
 }
Ejemplo n.º 13
0
 public static HomepageSlide Load(Sql sql, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <HomepageSlide>(sql, "HomepageSlide", otherwise));
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Loads a record from the HomepageSlide table in the database given the supplied Sql command object.
 /// You can use just a WHERE clause as your Sql - see example.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>
 /// var sql = new Sql("where name=", Web.Request["name"].SqlizeText());
 /// var g = GenTest.Load(sql);
 /// </example>
 /// <param name="sql"></param>
 /// <returns>An instance of HomepageSlide containing the data in the record</returns>
 public static HomepageSlide Load(Sql sql)
 {
     return(ActiveRecordLoader.Load <HomepageSlide>(sql, "HomepageSlide"));
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the MapRegion table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of MapRegion containing the data in the record</returns>
 public static MapRegion Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <MapRegion>(reader, "MapRegion"));
 }
Ejemplo n.º 16
0
 public static ShoppingCart Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <ShoppingCart>(reader, "ShoppingCart", otherwise));
 }
Ejemplo n.º 17
0
 public static MapRegion Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <MapRegion>(reader, "MapRegion", otherwise));
 }
Ejemplo n.º 18
0
 /// <summary>
 /// Loads a record from the Event table in the database given the supplied Sql command object.
 /// You can use just a WHERE clause as your Sql - see example.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>
 /// var sql = new Sql("where name=", Web.Request["name"].SqlizeText());
 /// var g = GenTest.Load(sql);
 /// </example>
 /// <param name="sql"></param>
 /// <returns>An instance of Event containing the data in the record</returns>
 public static Event Load(Sql sql)
 {
     return(ActiveRecordLoader.Load <Event>(sql, "Event"));
 }
Ejemplo n.º 19
0
 public static GalleryCategory Load(Sql sql, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <GalleryCategory>(sql, "GalleryCategory", otherwise));
 }
Ejemplo n.º 20
0
 public static Event Load(Sql sql, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <Event>(sql, "Event", otherwise));
 }
Ejemplo n.º 21
0
 public static GalleryCategory Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <GalleryCategory>(reader, "GalleryCategory", otherwise));
 }
Ejemplo n.º 22
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the Event table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of Event containing the data in the record</returns>
 public static Event Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <Event>(reader, "Event"));
 }
Ejemplo n.º 23
0
 public static ArticleDocument Load(Sql sql, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <ArticleDocument>(sql, "ArticleDocument", otherwise));
 }
Ejemplo n.º 24
0
 public static Event Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <Event>(reader, "Event", otherwise));
 }
Ejemplo n.º 25
0
 public static ArticleDocument Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <ArticleDocument>(reader, "ArticleDocument", otherwise));
 }
Ejemplo n.º 26
0
 /// <summary>
 /// Loads a record from the MapRegion table in the database given the supplied Sql command object.
 /// You can use just a WHERE clause as your Sql - see example.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>
 /// var sql = new Sql("where name=", Web.Request["name"].SqlizeText());
 /// var g = GenTest.Load(sql);
 /// </example>
 /// <param name="sql"></param>
 /// <returns>An instance of MapRegion containing the data in the record</returns>
 public static MapRegion Load(Sql sql)
 {
     return(ActiveRecordLoader.Load <MapRegion>(sql, "MapRegion"));
 }
Ejemplo n.º 27
0
 public static AutocompletePhrase Load(Sql sql, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <AutocompletePhrase>(sql, "AutocompletePhrase", otherwise));
 }
Ejemplo n.º 28
0
 public static MapRegion Load(Sql sql, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <MapRegion>(sql, "MapRegion", otherwise));
 }
Ejemplo n.º 29
0
 public static AutocompletePhrase Load(DbDataReader reader, Otherwise otherwise)
 {
     return(ActiveRecordLoader.Load <AutocompletePhrase>(reader, "AutocompletePhrase", otherwise));
 }
Ejemplo n.º 30
0
 /// <summary>
 /// Loads a record given a DataReader containing data from the MailLog table in the database.
 /// You should find that Load(Sql) or LoadID(id) cover most scenarios but you can use this method if you need to.
 /// When using a DataReader be careful to ensure you close it using reader.Close() to avoid connection leaks.
 /// If found in the cache, record will be loaded from the cache.
 /// </summary>
 /// <example>var g = GenTest.Load(reader);</example>
 /// <param name="sql"></param>
 /// <returns>An instance of MailLog containing the data in the record</returns>
 public static MailLog Load(DbDataReader reader)
 {
     return(ActiveRecordLoader.Load <MailLog>(reader, "MailLog"));
 }