Example #1
0
 public ForeignSqlStorageField(string fieldName, bool canWrite, bool canRead, bool isServerGenerated,
                               string columnName, Func <TValue> defaultValue, bool isPrimaryKey, FieldGraphPath <PropertyField> typeModelGraphPath,
                               JoinSpecification <TLocalEntity> joinSpecification) :
     base(fieldName, canWrite, canRead, isServerGenerated, columnName, defaultValue, isPrimaryKey, typeModelGraphPath)
 {
     JoinSpecification = joinSpecification;
 }
Example #2
0
 public JoinSpecification(JoinSpecification <TEntity> requiredJoin, Type entityType, string joinName,
                          params JoinColumnPair[] joinColumns)
 {
     RequiredJoin = requiredJoin;
     JoinColumns  = joinColumns;
     EntityType   = entityType;
     JoinName     = joinName;
 }
Example #3
0
 public JoinSpecification(JoinSpecification <TEntity> requiredJoin, Type entityType, string joinName,
                          IEnumerable <JoinColumnPair> joinColumns) :
     this(requiredJoin, entityType, joinName, joinColumns.ToArray())
 {
 }