public TabRepositoryReader(XDocument xml) { this.xml = xml; cache = new LazyMappedIdentifierCollection <IAttributeGroupDefinition>(); //The "Generic Properties" group should always exist, so we'll create it in the ctor genericGroupId = this.ResolveIdentifier("Generic Properties"); cache.Add(genericGroupId, new Lazy <IAttributeGroupDefinition>(() => { return(new AttributeGroupDefinition { Id = genericGroupId, Name = "Generic Properties", Alias = "Generic", }); })); }
public EntityCollection() { col = new LazyMappedIdentifierCollection <T>(); }
public EntityGraph() { collection = new LazyMappedIdentifierCollection <T>(); }
public PropertyRepositoryReader(XDocument xml, DataTypeRepositoryReader dataTypeRepo) { this.xml = xml; this.dataTypeRepo = dataTypeRepo; this.cache = new LazyMappedIdentifierCollection <IAttributeDefinition>(); }