public static CMetaobject sGetObjectByKey(decimal Key, IDatabaseProvider Provider) { CMetaobject R = new CMetaobject(Provider); R.Key = Key; R.ObjectGetByKey(Provider); return (R.ID == Guid.Empty ? null : R); }
public CMetaobject GetLinkedObject(IDatabaseProvider Provider) { CMetaobject R = new CMetaobject(Provider); R.Key = this.LinkedObjectKey; R.ObjectGetByKey(Provider); return (R.ID == Guid.Empty ? null : R); }