- namespace BusinessLogic.BusinessObject
- {
- [Serializable]
- [System.Data.Linq.Mapping.Table(Name = "Task")]
- public class BusiTask : KLimsCore.Model.Task
- {
- private BusiSampleCollection busiSamples;
- public BusiSampleCollection BusiSamples
- {
- get
- {
- if (busiSamples == null)
- {
- busiSamples = new BusiSampleCollection();
- if (this.ID != 0)
- {
- busiSamples.FillCollection("TaskID=" + this.ID.ToString());
- }
- }
- return busiSamples;
- }
- set
- {
- busiSamples = value;
- }
- }
-
-
- public override string GetTableName()
- {
- return base.GetTableName();
- }
-
- }
- }