Exemple #1
0
        private Mapping.Collection CreateIdentifierBag(XmlNode node, string prefix, string path,
                                                       PersistentClass owner, System.Type containingType, IDictionary <string, MetaAttribute> inheritedMetas)
        {
            IdentifierBag bag = new IdentifierBag(owner);

            BindCollection(node, bag, prefix, path, containingType, inheritedMetas);
            return(bag);
        }
Exemple #2
0
        private Mapping.Collection CreateIdentifierBag(HbmIdbag idbagMapping, string prefix, string path,
                                                       PersistentClass owner, System.Type containingType, IDictionary <string, MetaAttribute> inheritedMetas)
        {
            var idbag = new IdentifierBag(owner);

            BindCollection(idbagMapping, idbag, prefix, path, containingType, inheritedMetas);
            AddIdentifierCollectionSecondPass(idbagMapping, idbag, inheritedMetas);
            return(idbag);
        }