Exemple #1
0
 private void AddRelationType(string name, Type subjectiveEntityType, Type objectiveEntityType, RelationProperties properties)
 {
     RelationTypes.Add (new RelationType ()
     {
         Name = name,
         SubjectiveEntityType = subjectiveEntityType,
         ObjectiveEntityType = objectiveEntityType,
         Properties = properties
     });
 }
Exemple #2
0
 private void AddRelationType(string name, Type subjectiveEntityType, Type objectiveEntityType, RelationProperties properties)
 {
     RelationTypes.Add(new RelationType()
     {
         Name = name,
         SubjectiveEntityType = subjectiveEntityType,
         ObjectiveEntityType  = objectiveEntityType,
         Properties           = properties
     });
 }