Beispiel #1
0
 public DefaultRelation(string attributeName,
                        string relationshipName,
                        Type sourceObjectType,
                        Type relatedObjectType,
                        RelationColumnMapping[] tableColumnMappings,
                        ReferentialRuleType updateRule,
                        ReferentialRuleType deleteRule,
                        bool reverseRelationship,
                        bool nonIdentifyingRelation,
                        FetchStrategy fetchStrategy,
                        bool nullable)
     : base(attributeName,
            relationshipName,
            sourceObjectType,
            relatedObjectType,
            tableColumnMappings,
            updateRule,
            deleteRule,
            reverseRelationship,
            nonIdentifyingRelation,
            fetchStrategy,
            nullable)
 {
 }
Beispiel #2
0
 protected AbstractRelation(String attributeName,
                            string relationshipName,
                            Type sourceObjectType,
                            Type relatedObjectType,
                            RelationColumnMapping[] tableColumnMappings,
                            ReferentialRuleType updateRule,
                            ReferentialRuleType deleteRule,
                            bool reverseRelationship,
                            bool nonIdentifyingRelation,
                            FetchStrategy fetchStrategy,
                            bool nullable)
 {
     AttributeName          = attributeName;
     RelationShipName       = relationshipName;
     SourceObjectType       = sourceObjectType;
     RelatedObjectType      = relatedObjectType;
     TableColumnMappings    = tableColumnMappings;
     UpdateRule             = updateRule;
     DeleteRule             = deleteRule;
     ReverseRelationship    = reverseRelationship;
     NonIdentifyingRelation = nonIdentifyingRelation;
     FetchStrategy          = fetchStrategy;
     Nullable = nullable;
 }
Beispiel #3
0
 public ReferentialRuleTypeMapItem(ReferentialRuleType ruleType, string ruleName)
 {
     RuleType = ruleType;
     RuleName = ruleName;
 }