예제 #1
0
		private Mapping.Collection CreateBag(XmlNode node, string prefix, string path,
			PersistentClass owner, System.Type containingType)
		{
			Bag bag = new Bag(owner);
			BindCollection(node, bag, prefix, path, containingType);
			return bag;
		}
		private Mapping.Collection CreateBag(XmlNode node, string prefix, string path,
			PersistentClass owner, System.Type containingType, IDictionary<string, MetaAttribute> inheritedMetas)
		{
			Bag bag = new Bag(owner);
			BindCollection(node, bag, prefix, path, containingType, inheritedMetas);
			return bag;
		}
		private Mapping.Collection CreateBag(HbmBag bagMapping, string prefix, string path,
			PersistentClass owner, System.Type containingType, IDictionary<string, MetaAttribute> inheritedMetas)
		{
			var bag = new Bag(owner);
			BindCollection(bagMapping, bag, prefix, path, containingType, inheritedMetas);
			AddCollectionSecondPass(bagMapping, bag, inheritedMetas);
			return bag;
		}
예제 #4
0
				public override Mapping.Collection Create( XmlNode node, string prefix, string path, PersistentClass owner, Mappings mappings )
				{
					Bag bag = new Bag( owner );
					Binder.BindCollection( node, bag, prefix, path, mappings );
					return bag;
				}