Beispiel #1
0
        public static IEnumerable <tbl_Post> GetAll()
        {
            db_TestEntities _db = new db_TestEntities();

            return(_db.tbl_Post.OrderBy(row => row.id));
        }