public bool ContainsTargetReference(Schema.ReferenceBase reference) { foreach (Schema.ReferenceBase localReference in this) { if ((localReference.OriginatingReferenceName() == reference.OriginatingReferenceName()) && localReference.TargetKey.Equals(reference.TargetKey)) { return(true); } } return(false); }
public DerivedReference(int iD, string name, Schema.ReferenceBase parentReference, MetaData metaData) : base(iD, name, metaData) { ParentReference = parentReference; }
public DerivedReference(int iD, string name, Schema.ReferenceBase parentReference) : base(iD, name) { ParentReference = parentReference; }