public override bool Match(object @object) { NeoDatis.Odb.Test.VO.School.History s = (NeoDatis.Odb.Test.VO.School.History)@object; Java.Util.Calendar c = Java.Util.Calendar.GetInstance(); c.Set(Java.Util.Calendar.Month, 6); c.Set(Java.Util.Calendar.Year, 2005); return(s.GetTeacher().GetName().Equals(name) && s.GetDate().Millisecond > (c.GetTime ().Millisecond)); }
public virtual void AddHistory(NeoDatis.Odb.Test.VO.School.History history) { history.SetStudent(this); listHistory.Add(history); }