internal static List<Bookmark> GetBookmarksForDisplay() { SqlFilter filter = new SqlFilter(typeof(Bookmark)); filter.AddConstraint("islocaldeleted", false); // return... return filter.ExecuteEntityCollection<Bookmark>(); }
internal static Bookmark GetByOrdinal(int ordinal) { SqlFilter filter = new SqlFilter(typeof(Bookmark)); filter.AddConstraint("ordinal", ordinal); filter.AddConstraint("islocaldeleted", false); // return... return filter.ExecuteEntity<Bookmark>(); }