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