Beispiel #1
0
        internal IList <TB_SpecialDaily> QueryEntriesByType(string CurrentSpecialDailyType)
        {
            List <TB_SpecialDaily> result = new List <TB_SpecialDaily>();

            using (var db = this.dbFactory.OpenDefalutDataBase())
            {
                result.AddRange(db.GetEntities <TB_SpecialDaily>(TB_SpecialDailySet.SelectAll().Where(TB_SpecialDailySet.Type.Equal(CurrentSpecialDailyType))));
            }
            return(result);
        }
Beispiel #2
0
 protected override Moon.Orm.MQLBase onCreateMQL_QueryAllEntities()
 {
     return(TB_SpecialDailySet.SelectAll());
 }