void AllorsInternal.SetRole(AllorsEmbeddedRelationType relation, object role) { switch (relation.Tag) { case AllorsRelationTags.RelationTypeIsDerived: RoleSetRelationTypeIsDerived((global::System.Boolean)role); break; case AllorsRelationTags.RelationTypeIsIndexed: RoleSetRelationTypeIsIndexed((global::System.Boolean)role); break; case AllorsRelationTags.RelationTypeRoleType: RoleSetRelationTypeRoleType((global::Allors.R1.Meta.RoleType)role); break; case AllorsRelationTags.RelationTypeAssociationType: RoleSetRelationTypeAssociationType((global::Allors.R1.Meta.AssociationType)role); break; case AllorsRelationTags.MetaObjectId: RoleSetMetaObjectId((global::System.Guid)role); break; default: throw new System.ArgumentException("Illegal relation " + relation.Name); } }
object AllorsInternal.GetRole(AllorsEmbeddedRelationType relation) { AllorsAssert(); switch (relation.Tag) { case AllorsRelationTags.AssociationTypeAssignedPluralName: return(_AssociationTypeAssignedPluralName); case AllorsRelationTags.AssociationTypeObjectType: return(_AssociationTypeObjectType); case AllorsRelationTags.AssociationTypeIsMany: return(_AssociationTypeIsMany); case AllorsRelationTags.AssociationTypeDerivedRootObjectType: return(_AssociationTypeDerivedRootObjectType); case AllorsRelationTags.AssociationTypeDerivedRootName: return(_AssociationTypeDerivedRootName); case AllorsRelationTags.AssociationTypeAssignedSingularName: return(_AssociationTypeAssignedSingularName); case AllorsRelationTags.MetaObjectId: return(_MetaObjectId); default: throw new System.ArgumentException("Illegal relation " + relation.Name); } }
void AllorsInternal.SetRole(AllorsEmbeddedRelationType relation, object role) { switch (relation.Tag) { case AllorsRelationTags.RoleTypeObjectType: RoleSetRoleTypeObjectType((global::Allors.R1.Meta.ObjectType)role); break; case AllorsRelationTags.RoleTypeDerivedRootType: RoleSetRoleTypeDerivedRootType((global::Allors.R1.Meta.ObjectType[])role); break; case AllorsRelationTags.RoleTypeScale: RoleSetRoleTypeScale((global::System.Int32)role); break; case AllorsRelationTags.RoleTypePrecision: RoleSetRoleTypePrecision((global::System.Int32)role); break; case AllorsRelationTags.RoleTypeSize: RoleSetRoleTypeSize((global::System.Int32)role); break; case AllorsRelationTags.RoleTypeDerivedHierarchyPluralName: RoleSetRoleTypeDerivedHierarchyPluralName((global::System.String)role); break; case AllorsRelationTags.RoleTypeDerivedHierarchySingularName: RoleSetRoleTypeDerivedHierarchySingularName((global::System.String)role); break; case AllorsRelationTags.RoleTypeAssignedPluralName: RoleSetRoleTypeAssignedPluralName((global::System.String)role); break; case AllorsRelationTags.RoleTypeDerivedRootName: RoleSetRoleTypeDerivedRootName((global::System.String)role); break; case AllorsRelationTags.RoleTypeIsMany: RoleSetRoleTypeIsMany((global::System.Boolean)role); break; case AllorsRelationTags.RoleTypeAssignedSingularName: RoleSetRoleTypeAssignedSingularName((global::System.String)role); break; case AllorsRelationTags.MetaObjectId: RoleSetMetaObjectId((global::System.Guid)role); break; default: throw new System.ArgumentException("Illegal relation " + relation.Name); } }
object AllorsInternal.GetRole(AllorsEmbeddedRelationType relation) { AllorsAssert(); switch (relation.Tag) { case AllorsRelationTags.MethodTypeObjectType: return(_MethodTypeObjectType); case AllorsRelationTags.MethodTypeName: return(_MethodTypeName); case AllorsRelationTags.MetaObjectId: return(_MetaObjectId); default: throw new System.ArgumentException("Illegal relation " + relation.Name); } }
void AllorsInternal.SetRole(AllorsEmbeddedRelationType relation, object role) { switch (relation.Tag) { case AllorsRelationTags.MethodTypeObjectType: RoleSetMethodTypeObjectType((global::Allors.R1.Meta.ObjectType)role); break; case AllorsRelationTags.MethodTypeName: RoleSetMethodTypeName((global::System.String)role); break; case AllorsRelationTags.MetaObjectId: RoleSetMetaObjectId((global::System.Guid)role); break; default: throw new System.ArgumentException("Illegal relation " + relation.Name); } }
void AllorsInternal.SetRole(AllorsEmbeddedRelationType relation, object role) { throw new System.NotImplementedException(); }
object AllorsInternal.GetRole(AllorsEmbeddedRelationType relation) { throw new System.NotImplementedException(); }