public ClassAttendance(DateTime dtDate, DateTime dtStartTime, DateTime dtEndTime, int nTypeID, int nStatusID, DateTime dtLastEditDate, bool fUOBBooking, bool fRefunded, Branch branch, ClassInstance classInstance, Employee employee, Member member, MemberPackage memberPackage) { this._dtDate = dtDate; this._dtStartTime = dtStartTime; this._dtEndTime = dtEndTime; this._nTypeID = nTypeID; this._nStatusID = nStatusID; this._dtLastEditDate = dtLastEditDate; this._fUOBBooking = fUOBBooking; this._fRefunded = fRefunded; this._branch = branch; this._classInstance = classInstance; this._employee = employee; this._member = member; this._memberPackage = memberPackage; }
public ClassAttendance( DateTime dtDate, DateTime dtStartTime, DateTime dtEndTime, int nTypeID, int nStatusID, DateTime dtLastEditDate, bool fUOBBooking, bool fRefunded, Branch branch, ClassInstance classInstance, Employee employee, Member member, MemberPackage memberPackage ) { this._dtDate = dtDate; this._dtStartTime = dtStartTime; this._dtEndTime = dtEndTime; this._nTypeID = nTypeID; this._nStatusID = nStatusID; this._dtLastEditDate = dtLastEditDate; this._fUOBBooking = fUOBBooking; this._fRefunded = fRefunded; this._branch = branch; this._classInstance = classInstance; this._employee = employee; this._member = member; this._memberPackage = memberPackage; }
// protected IList _classInstances = new ArrayList(); public void AddClassInstance(ClassInstance classInstance) { classInstance.Branch = this; _classInstances.Add(classInstance); }
public void AddClassInstance(ClassInstance classInstance) { classInstance.Class = this; _classInstances.Add(classInstance); }