Yeah, sorry, model branch needs to be removed. We merged into master for the
1.0RC.

On Thu, Aug 20, 2009 at 1:15 PM, Brendan Erwin <[email protected]>wrote:

> I just looked at the network diagram on github. I should be pointed to the
> master branch, huh?
> Let me do *that* and see if things get better.
>
> On Aug 20, 2009, at 3:46 AM, James Gregory wrote:
>
> Do any relationships use EdiServiceHandlingThreadId as a key?
> What version of FNH are you running? I pushed out a change the other night
> to fix an issue with joins, that could be affecting you.
>
> On Thu, Aug 20, 2009 at 5:40 AM, Brendan Erwin <[email protected]>wrote:
>
>>
>> I'm getting this error message:
>>
>>        NHibernate.MappingException: Duplicate property mapping of
>> EdiServiceHandlingThreadId found in Clearwave.Models.Eligibility.Request
>>
>> Here is where that property is mapped:
>>
>>             Join("tEligibilityRequestQueue", m =>
>>             {
>>                 m.KeyColumn("uid_EligibilityRequest");
>>                 m.Optional();
>>                 m.Map(x => x.EdiServiceHandlingThreadId,
>> "uid_ListenerThread");   //Property in question
>>                 m.Map(x => x.ScheduledProcessingTime, "dt_ReadyToGo")
>>                     .Access.ReadOnlyPropertyThroughCamelCaseField();
>>             });
>>
>> But, that property is not mapped anywhere else.
>>
>> I have no clue what to look for...
>>
>> Here is the entire mapping if it might prove useful:
>>
>>         public RequestMap()
>>         {
>>             Table("tEligibilityRequest");
>>
>>             Id(x => x.Id, "uid_EligibilityRequest")
>>                 .GeneratedBy.Guid()
>>                 .Access.ReadOnlyPropertyThroughCamelCaseField();
>>
>>             References(x => x.ProviderOrganization,
>> "uid_ProviderOrganization");
>>             References(x => x.Encounter, "uid_Encounter");
>>             References(x => x.Payer, "uid_Payer");
>>
>>             Map(x => x.DateOfService, "sdt_Service")
>>                 .CustomType<UtcDateTimeUserType>();
>>             Map(x => x.InsuranceState, "ti_InsuranceFlag")
>>                 .CustomType<EnumToIntegerUserType<InsuranceStates>>();
>>             Map(x => x.StatusCode, "ti_Status");
>>             Map(x => x.StatusChangeDateTime, "dt_Status")
>>                 .CustomType<UtcDateTimeUserType>();
>>             Map(x => x.EligibilityStatusOfLastResponse,
>> "vc_EligibilityCode")
>>                 .CustomType<EligibilityStatusesUserType>();
>>             Map(x => x.RequestPostCount, "i_RequestPostCount");
>>
>>             HasMany(x => x.Transactions)
>>                 .Inverse()
>>                 .KeyColumns.Add("uid_EligibilityRequest")
>>                 .Cascade.All();
>>
>>             Component(x => x.ProvidedInsuranceCardData, m =>
>>                 {
>>                     m.Map(x =>
>> x.ProvidedPatientRelationshipToInsured, "c_RelationshipFlag")
>>                         .CustomType
>> <PatientRelationshipToInsuredUserType>();
>>                     m.Map(x => x.ProvidedGroupNumber, "vc_GroupID");
>>                     m.Map(x => x.ProvidedMemberIdOfPatient,
>> "vc_MemberID")
>>                         .Access.CamelCaseField();
>>                 });
>>
>>             Component(x => x.PersonData, m =>
>>             {
>>                 m.Map(x => x.DateOfBirth, "dt_DoB")
>>                     .CustomType<DateOfBirthUserType>();
>>                 m.Map(x => x.FirstName, "vc_FName");
>>                 m.Map(x => x.Gender, "c_Gender")
>>                     .CustomType<PatientGenderUserType>();
>>                 m.Map(x => x.LastName, "vc_LName");
>>             });
>>
>>             Join("tEligibilityRequestQueue", m =>
>>             {
>>                 m.KeyColumn("uid_EligibilityRequest");
>>                 m.Optional();
>>                 m.Map(x => x.EdiServiceHandlingThreadId,
>> "uid_ListenerThread");
>>                 m.Map(x => x.ScheduledProcessingTime, "dt_ReadyToGo")
>>                     .Access.ReadOnlyPropertyThroughCamelCaseField();
>>             });
>>         }
>>
>>
>>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to