public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(MemberPeriod.GetTableName(site)); }
/// <summary> /// Retrieves a collection of <see cref="!:MemberPeriodModel" /> instances. /// </summary> /// <param name="memIdId"> /// The value which identifies the <see cref="!:MemberPeriodModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:MemberPeriodModel" /> instances that match the specified <paramref name="memIdId" />. /// </returns> public static IEnumerable <Consensus.Membership.MemberPeriod> FetchAllByMemIdId(System.String memIdId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(MemberPeriod.FetchAllByMemIdId(site, memIdId)); }
/// <summary> /// Retrieves a specific <see cref="!:MemberPeriodModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:MemberPeriodModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:MemberPeriodModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.Membership.MemberPeriod FetchById(System.String id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(MemberPeriod.FetchById(site, id)); }
/// <summary> /// Retrieves all instances of the <see cref="!:MemberPeriodModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:MemberPeriodModel" /> instances. /// </returns> public static IEnumerable <Consensus.Membership.MemberPeriod> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(MemberPeriod.FetchAll(site)); }
/// <summary> /// Creates a new <see cref="!:MemberPeriodModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:MemberPeriodModel" /> instance. /// </returns> public static Consensus.Membership.MemberPeriod Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(MemberPeriod.Create(site)); }
/// <summary> /// Cancels existing DDs on <see cref="!:MemberPeriodModel" /> instance. /// </summary> /// <param name="memberPeriodId"> /// The value which identifies the <see cref="!:MemberPeriodModel" /> instance to be modified. /// </param> /// <param name="directDebitId"> /// The new Direct Debit Id which identifies the instance which should not be modified. /// </param> /// <returns> /// The <see cref="!:MemberPeriodModel" /> instance that match the specified <paramref name="memberPeriodId" />. /// </returns> public static Consensus.Membership.MemberPeriod CancelExistingDirectDebits(System.String memberPeriodId, System.String directDebitId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(MemberPeriod.CancelExistingDirectDebits(site, memberPeriodId, directDebitId)); }
/// <summary> /// Performs rollback membership on a single <see cref="!:MemberPeriodModel" /> instance. /// Functionality replicated from the SQL performed in V6.5. /// </summary> /// <param name="memberPeriodId"> /// The value which identifies the <see cref="!:MemberPeriodModel" /> instance to be modified. /// </param> /// <param name="status"> /// The status value which should be set. /// </param> /// <returns> /// The <see cref="!:MemberPeriodModel" /> instance that match the specified <paramref name="memberPeriodId" />. /// </returns> public static Consensus.Membership.MemberPeriod RollbackMembership(System.String memberPeriodId, System.String status) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(MemberPeriod.RollbackMembership(site, memberPeriodId, status)); }