/// <summary> /// Creates a new <see cref="!:ScreenObjectEntryModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:ScreenObjectEntryModel" /> instance. /// </returns> public static Consensus.UserInterface.ScreenObjectEntry Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ScreenObjectEntry.Create(site)); }
/// <summary> /// Retrieves a collection of <see cref="!:ScreenObjectEntryModel" /> instances. /// </summary> /// <param name="screenObjectId"> /// The value which identifies the <see cref="!:ScreenObjectEntryModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:ScreenObjectEntryModel" /> instances that match the specified <paramref name="screenObjectId" />. /// </returns> public static IEnumerable <Consensus.UserInterface.ScreenObjectEntry> FetchAllByScreenObjectId(System.Int32 screenObjectId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ScreenObjectEntry.FetchAllByScreenObjectId(site, screenObjectId)); }
/// <summary> /// Retrieves a specific <see cref="!:ScreenObjectEntryModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:ScreenObjectEntryModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:ScreenObjectEntryModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.UserInterface.ScreenObjectEntry FetchById(System.Int32 id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ScreenObjectEntry.FetchById(site, id)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ScreenObjectEntry.GetTableName(site)); }
/// <summary> /// Retrieves all instances of the <see cref="!:ScreenObjectEntryModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:ScreenObjectEntryModel" /> instances. /// </returns> public static IEnumerable <Consensus.UserInterface.ScreenObjectEntry> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(ScreenObjectEntry.FetchAll(site)); }