/// <summary> /// Raises all BeforeGroup events. These events are raised before a group change is commited to the datastore /// </summary> public static void BeforeGroup(Group group, ObjectState state, ApplicationType appType) { CSApplication.Instance().ExecutePreSectionGroupUpdate(group,state,appType); }
public abstract int CreateUpdateDeleteGroup(Group group, DataProviderAction action);
internal void ExecutePreSectionGroupUpdate(Group group, ObjectState state, ApplicationType appType) { CSGroupEventHandler handler = Events[EventPreSectionGroupUpdate] as CSGroupEventHandler; if (handler != null) { handler(group, new CSEventArgs(state,appType)); } }
public static Group PopulateForumGroupFromIDataReader(IDataReader dr) { Group forumGroup = new Group(); forumGroup.GroupID = (int) dr["GroupID"]; forumGroup.Name = (string) dr["Name"]; forumGroup.NewsgroupName = (string) dr["NewsgroupName"]; forumGroup.SortOrder = Convert.ToInt32(dr["SortOrder"]); forumGroup.ApplicationType = (ApplicationType) (Int16) dr["ApplicationType"]; return forumGroup; }
public object Clone() { Group g = new Group(this.name); g.Sections = this.sections; g.sortOrder = this.sortOrder; g.groupID = this.groupID; g._applicationType = this._applicationType; g.newsgroupName = this.newsgroupName; return g; }