var map = @event.Event.Map; var attMap = (FluentNHibernate.Mapping.DynamicComponentPart<System.Collections.IDictionary>)(map.Store.Components.FirstOrDefault(r => r.GetComponentMapping().Member.Name == “Attributes”)); attMap.References<Department>(p => p[“Department”]).Column(“DepartmentId”);

发表评论

您的电子邮箱地址不会被公开。