Example #1
0
		private Mapping.Collection CreateIdentifierBag(XmlNode node, string prefix, string path,
			PersistentClass owner, System.Type containingType)
		{
			IdentifierBag bag = new IdentifierBag(owner);
			BindCollection(node, bag, prefix, path, containingType);
			return bag;
		}
		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;
		}
		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;
		}
				public override Mapping.Collection Create( XmlNode node, string prefix, string path, PersistentClass owner, Mappings mappings )
				{
					IdentifierBag bag = new IdentifierBag( owner );
					Binder.BindCollection( node, bag, prefix, path, mappings );
					return bag;
				}