コード例 #1
0
        public static List <T> GetAllEntities()
        {
            try
            {
                List <T> results = new List <T>();
                results = EntityDb <T> .GetAll();

                EntityDb <T> .CloseSession();

                return(results);
            }
            catch (Exception)
            {
                throw;
            }
        }