public EventCategory(int eventCategoryId, Mandator mandator, string category, string categoryDescription, string featureAssembly, string featureAssemblyClassName, bool freeEventSmsNotifications) { this.EventCategoryId = eventCategoryId; this.Mandator = mandator; this.Category = category; this.CategoryDescription = categoryDescription; this.FeatureAssembly = featureAssembly; this.FeatureAssemblyClassName = featureAssemblyClassName; this.FreeEventSmsNotifications = freeEventSmsNotifications; }
public Contact(Mandator mandator, string name, string email, string mobilePhone, bool liftMgmtSmsOn, bool eventMgmtSmsOn, bool useTwoWaySms, int smsLog, int smsPurchased, bool noSmsCreditNotified, string login) { ContactId = 0; Mandator = mandator; Name = name; Email = email; MobilePhone = mobilePhone; LiftMgmtSmsOn = liftMgmtSmsOn; EventMgmtSmsOn = eventMgmtSmsOn; UseTwoWaySms = useTwoWaySms; SmsLog = smsLog; SmsPurchased = smsPurchased; IsDeleted = false; NoSmsCreditNotified = noSmsCreditNotified; Login = login; }
public void Clone(Mandator mandator) { MandatorName = mandator.MandatorName; MandatorShortName = mandator.MandatorShortName; MandatorMail = mandator.MandatorMail; EntryPointUrl = mandator.EntryPointUrl; SiteTitle = mandator.SiteTitle; EventName = mandator.EventName; FeatureAssembly = mandator.FeatureAssembly; FeatureAssemblyClassName = mandator.FeatureAssemblyClassName; EventNotificationAddressesDefault = mandator.EventNotificationAddressesDefault; ShowEventsAsList = mandator.ShowEventsAsList; UseEventCategories = mandator.UseEventCategories; UseEventUrl = mandator.UseEventUrl; UseMinMaxSubscriptions = mandator.UseMinMaxSubscriptions; UseSubscriptions = mandator.UseSubscriptions; SmsNotifications = mandator.SmsNotifications; OnNewEventNotifyContacts = mandator.OnNewEventNotifyContacts; OnEditEventNotifyContacts = mandator.OnEditEventNotifyContacts; OnNewSubscriptionNotifyContacts = mandator.OnNewSubscriptionNotifyContacts; OnEditSubscriptionNotifyContacts = mandator.OnEditSubscriptionNotifyContacts; OnDeleteSubscriptionNotifyContacts = mandator.OnDeleteSubscriptionNotifyContacts; IsLiftManagementEnabled = mandator.IsLiftManagementEnabled; NotifyDeletableSubscriptionStates = mandator.NotifyDeletableSubscriptionStates; HelpText = mandator.HelpText; UnsubscribeAllowedFromNumSubscriptions = mandator.UnsubscribeAllowedFromNumSubscriptions; UnsubscribeAllowedTillNumSubscriptions = mandator.UnsubscribeAllowedTillNumSubscriptions; SmsLog = mandator.SmsLog; SmsPurchased = mandator.SmsPurchased; NoSmsCreditNotified = mandator.NoSmsCreditNotified; UseExternalAuth = mandator.UseExternalAuth; AuthTable = mandator.AuthTable; AuthIdColumn = mandator.AuthIdColumn; AuthLoginColumn = mandator.AuthLoginColumn; AuthPasswordColumn = mandator.AuthPasswordColumn; isNull = false; }