示例#1
0
 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);
 }
示例#2
0
 public DerivedReference(int iD, string name, Schema.ReferenceBase parentReference, MetaData metaData) : base(iD, name, metaData)
 {
     ParentReference = parentReference;
 }
示例#3
0
 public DerivedReference(int iD, string name, Schema.ReferenceBase parentReference) : base(iD, name)
 {
     ParentReference = parentReference;
 }