public ComponentMetamodel(Mapping.Component component) { role = component.RoleName; isKey = component.IsKey; propertySpan = component.PropertySpan; properties = new StandardProperty[PropertySpan]; propertyIndexes = new Dictionary<string, int>(propertySpan); int i = 0; foreach (Mapping.Property property in component.PropertyIterator) { properties[i] = PropertyFactory.BuildStandardProperty(property, false); propertyIndexes[property.Name] = i; i++; } tuplizerMapping = new ComponentEntityModeToTuplizerMapping(component); }
public ComponentMetamodel(Mapping.Component component) { role = component.RoleName; isKey = component.IsKey; propertySpan = component.PropertySpan; properties = new StandardProperty[PropertySpan]; propertyIndexes = new Dictionary <string, int>(propertySpan); int i = 0; foreach (Mapping.Property property in component.PropertyIterator) { properties[i] = PropertyFactory.BuildStandardProperty(property, false); propertyIndexes[property.Name] = i; i++; } tuplizerMapping = new ComponentEntityModeToTuplizerMapping(component); }