public TaggedProstheticClaimArray(string tag, ProstheticClaim mdo) { this.tag = tag; if (mdo == null) { this.count = 0; return; } this.claims = new ProstheticClaimTO[1]; this.claims[0] = new ProstheticClaimTO(mdo); this.count = 1; }
public TaggedProstheticClaimArray(string tag, ProstheticClaim[] mdos) { this.tag = tag; if (mdos == null) { this.count = 0; return; } this.claims = new ProstheticClaimTO[mdos.Length]; for (int i = 0; i < mdos.Length; i++) { this.claims[i] = new ProstheticClaimTO(mdos[i]); } this.count = claims.Length; }
public ProstheticClaimTO(ProstheticClaim mdo) : base(mdo) { this.prostheticId = mdo.ItemId; this.prostheticName = mdo.ItemName; }