Метод | Описание | |
---|---|---|
GetIndexTypeFromDictionary ( |
Gets the index type of a mapped dictionary.
|
|
GetMapTypeFromDictionary ( |
Gets the index type of a mapped dictionary.
|
|
SemanticVerifierVisitor ( |
Initializes a new instance of the SemanticVerifierVisitor class.
|
|
VisitAny ( |
Visits any.
|
|
VisitBelongsTo ( |
Visits the belongs to. Infer column name and type Verify that the property is virtual if the class was marked lazy. |
|
VisitCompositePrimaryKey ( |
Visits the composite primary key. Validate that the composite key type is implementing GetHashCode() and Equals(), is mark serializable. Validate that the compose key is compose of two or more columns |
|
VisitCompositeUserType ( |
Visits the custom composite user type. Apply any column prefixes specified |
|
VisitField ( |
Visits the field. Infer column name and nullablity |
|
VisitHasAndBelongsToMany ( |
Visits the has and belongs to many. Verify that a link table was specified Verify that a key was specified and that it is valid Verify that required information was specified |
|
VisitHasMany ( |
Visits the has many. Guess the type of the relation, if not specified explicitly Verify that the assoication is valid on [HasMany] Validate that required information is specified Infer the other side of the assoication and grab require data from it |
|
VisitHasManyToAny ( |
Visit the has many to any
|
|
VisitKey ( |
Visits the key. Infer column name |
|
VisitModel ( |
Visits the model. Check that the model: - Define only a discriminator or a join subclass, not both - Doesn't specify version/timestamp property on a joined subclass / discriminator subclass - Validate that the custom entity persister implements IEntityPersister - Validate the joined subclasses has a [JoinedKey] to map back to the parent table - Validate that the class has a PK |
|
VisitNested ( Castle.ActiveRecord.Framework.Internal.NestedModel model ) : void |
Visits the nested model Infer the column name and applies and column prefixes specified |
|
VisitOneToOne ( Castle.ActiveRecord.Framework.Internal.OneToOneModel model ) : void |
Visits the one to one. Infer the type on the other side |
|
VisitPrimaryKey ( |
Visits the primary key. Infer column name and the reverse property if using [OneToOne] |
|
VisitProperty ( |
Visits the property. Infer column name and whatever this propery can be null or not Also catch common mistake of try to use [Property] on an entity, instead of [BelongsTo] |
|
VisitTimestamp ( |
Visits the timestamp. Infer column name |
|
VisitVersion ( |
Visits the version. Infer column name |
Метод | Описание | |
---|---|---|
AssertHasValidKey ( |
||
GuessRelation ( |
||
ObtainNullableTypeNameForCLRNullable ( |
public static GetIndexTypeFromDictionary ( |
||
propertyType | Type of the property. | |
Результат |
public static GetMapTypeFromDictionary ( |
||
propertyType | Type of the property. | |
Результат |
public SemanticVerifierVisitor ( |
||
arCollection | The ar collection. | |
Результат | System |
public VisitAny ( |
||
model | The model. | |
Результат | void |
public VisitBelongsTo ( |
||
model | The model. | |
Результат | void |
public VisitCompositePrimaryKey ( |
||
model | The model. | |
Результат | void |
public VisitCompositeUserType ( |
||
model | The model. | |
Результат | void |
public VisitField ( |
||
model | The model. | |
Результат | void |
public VisitHasAndBelongsToMany ( |
||
model | The model. | |
Результат | void |
public VisitHasMany ( |
||
model | The model. | |
Результат | void |
public VisitHasManyToAny ( |
||
model | The model. | |
Результат | void |
public VisitKey ( |
||
model | The model. | |
Результат | void |
public VisitModel ( |
||
model | The model. | |
Результат | void |
public VisitNested ( Castle.ActiveRecord.Framework.Internal.NestedModel model ) : void | ||
model | Castle.ActiveRecord.Framework.Internal.NestedModel | The model. |
Результат | void |
public VisitOneToOne ( Castle.ActiveRecord.Framework.Internal.OneToOneModel model ) : void | ||
model | Castle.ActiveRecord.Framework.Internal.OneToOneModel | The model. |
Результат | void |
public VisitPrimaryKey ( |
||
model | The model. | |
Результат | void |
public VisitProperty ( |
||
model | The model. | |
Результат | void |
public VisitTimestamp ( |
||
model | The model. | |
Результат | void |
public VisitVersion ( |
||
model | The model. | |
Результат | void |