コード例 #1
0
ファイル: Relationship.cs プロジェクト: drusellers/bigtoe
 public static Relationship BuildHasA(EntityType type, Metadata with)
 {
     return new Relationship("has a", type)
                {
                    With = with
                };
 }
コード例 #2
0
ファイル: Relationship.cs プロジェクト: drusellers/bigtoe
 //name
 //from
 //to?
 public Relationship(string name, EntityType type)
     : base(name, type)
 {
 }
コード例 #3
0
ファイル: Metadata.cs プロジェクト: drusellers/bigtoe
 public Metadata(string name, EntityType type)
 {
     Name = name;
     EntityType = type;
     Relationships = new List<Relationship>();
 }