private void InitMembers() { mCurrentUser = (UserBase)Session["CurrentUser"]; if (mCurrentUser != null) { if (mCurrentUser.IsNull) { mCurrentUser = null; } } if (mEventBaseBO == null) { mEventBaseBO = new EventBaseBO(); } if (mUserBaseBO == null) { mUserBaseBO = new UserBaseBO(); } if (mEventsInvitationsBO == null) { mEventsInvitationsBO = new EventsInvitationsBO(); } if (mHoldingsInfoBO == null) { mHoldingsInfoBO = new HoldingsInfoBO(); } mIsInit = true; }
public EventBriefWebService() { mEventBaseBO = new EventBaseBO(); mUserBaseBO = new UserBaseBO(); mItemBaseBO = new ItemBaseBO(); mHoldingsInfoBO = new HoldingsInfoBO(); mEventsInvitationsBO = new EventsInvitationsBO(); }
public EventDetailsWebService() { mEventBaseBO = new EventBaseBO(); mUserBaseBO = new UserBaseBO(); mResourceDescriptionBO = new ResourceDescriptionBO(); mEventTimeInfoBO = new EventTimeInfoBO(); mObjectLocationBO = new ObjectLocationBO(); mUserNameImageListBO = new UserNameImageListBO(); mItemBaseBO = new ItemBaseBO(); mHoldingsInfoBO = new HoldingsInfoBO(); mEventsInvitationsBO = new EventsInvitationsBO(); mUsersConnectionBO = new UsersConnectionBO(); Session["HoldingsInfoBO"] = mHoldingsInfoBO; //Uncomment the following line if using designed components //InitializeComponent(); }