DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Relationship.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace Deveel.Data.Mapping {
4  public sealed class Relationship {
5  internal Relationship(Type sourceType, string sourceMember, Type targetType, RelationshipType relationshipType, bool isOptional) {
6  SourceType = sourceType;
7  SourceMember = sourceMember;
8  TargetType = targetType;
9  RelationshipType = relationshipType;
10  IsOptional = isOptional;
11  }
12 
13  public Type SourceType { get; private set; }
14 
15  public string SourceMember { get; private set; }
16 
17  public Type TargetType { get; private set; }
18 
19  public RelationshipType RelationshipType { get; private set; }
20 
21  public bool IsOptional { get; private set; }
22  }
23 }
Relationship(Type sourceType, string sourceMember, Type targetType, RelationshipType relationshipType, bool isOptional)
Definition: Relationship.cs:5