<property name="SomethingIDField" access="field.camelcase-underscore"
> type="System.Int64" column="SomethingID" update="false" insert="false" />

Have you created your own implementation of lazy-loading here?

On Sep 18, 5:17 pm, sravan <[email protected]> wrote:
> I have a very huge graph and the entity i am trying to load has 12
> properties that are lazy loaded.
>
> the following is the hbm file for the entity i a trying to load.
>
>  <class name="Business.VoterEntity, Business.Entities" lazy="true"
> table="Voter" schema="Hava" where="((SysStatusID is null) or
> (SysStatusID = 1))">
>     <id name="ID" access="property" column="VoterID"
> type="System.Int64">
>       <generator class="identity" />
>     </id>
>     <timestamp name="SysDatabaseTime" access="field.camelcase-
> underscore" column="SysDatabaseTime" unsaved-value="null"
> generated="always" />
>     <property name="PersonIDField" access="field.camelcase-underscore"
> type="System.Int64" column="PersonID" update="false" insert="false" />
>     <property name="AvAddressIDField" access="field.camelcase-
> underscore" type="System.Int64" column="AvAddressID" update="false"
> insert="false" />
>     <property name="Affidavit" access="field.camelcase-underscore"
> type="Helios.Repository.UDT.EmptyStringUserType,Helios.Repository"
> column="Affidavit" not-null="false" />
>     <property name="ManualPrecinct" access="field.camelcase-
> underscore" type="System.Boolean" column="ManualPrecinct" not-
> null="false" />
>     <property name="PrecinctPortionIDField" access="field.camelcase-
> underscore" type="System.Int64" column="PrecinctPortionID"
> update="false" insert="false" />
>     <property name="PartyIDField" access="field.camelcase-underscore"
> type="System.Int64" column="PartyID" update="false" insert="false" />
>     <property name="SigDate" access="field.camelcase-underscore"
> type="System.DateTime" column="SigDate" not-null="false" />
>     <property name="RegisteredDate" access="field.camelcase-
> underscore" type="System.DateTime" column="RegisteredDate" not-
> null="false" />
>     <property name="OriginalRegisteredDate" access="field.camelcase-
> underscore" type="System.DateTime" column="OriginalRegisteredDate" not-
> null="false" />
>     <property name="ReceiveDate" access="field.camelcase-underscore"
> type="System.DateTime" column="ReceiveDate" not-null="false" />
>     <property name="ImageIDField" access="field.camelcase-underscore"
> type="System.Int64" column="ImageID" update="false" insert="false" />
>     <property name="Confidential" access="field.camelcase-underscore"
> type="System.Boolean" column="Confidential" not-null="false" />
>     <property name="VoterAbsenteeCategoryIDField"
> access="field.camelcase-underscore" type="System.Int64"
> column="VoterAbsenteeCategoryID" update="false" insert="false" />
>     <property name="VoterAbsenteeDeliveryIDField"
> access="field.camelcase-underscore" type="System.Int64"
> column="VoterAbsenteeDeliveryID" update="false" insert="false" />
>     <property name="DateEntered" access="field.camelcase-underscore"
> type="System.DateTime" column="DateEntered" not-null="false" />
>     <property name="RecruitmentBypass" access="field.camelcase-
> underscore" type="System.Boolean" column="RecruitmentBypass" not-
> null="false" />
>     <property name="StateIDNumber" access="field.camelcase-underscore"
> type="Helios.Repository.UDT.EmptyStringUserType,Helios.Repository"
> column="StateIDNumber" not-null="false" />
>     <property name="ValidationDate" access="field.camelcase-
> underscore" type="System.DateTime" column="ValidationDate" not-
> null="false" />
>     <property name="StateAuditFlag" access="field.camelcase-
> underscore"
> type="Helios.Repository.UDT.EmptyStringUserType,Helios.Repository"
> column="StateAuditFlag" not-null="false" />
>     <property name="ContactIDField" access="field.camelcase-
> underscore" type="System.Int64" column="ContactID" update="false"
> insert="false" />
>     <property name="VoterRegistrationBatchIDField"
> access="field.camelcase-underscore" type="System.Int64"
> column="VoterRegistrationBatchID" update="false" insert="false" />
>     <property name="NeedsIDNumber" access="field.camelcase-underscore"
> type="System.Boolean" column="NeedsIDNumber" not-null="false" />
>     <property name="PriorJurisdictionIDField" access="field.camelcase-
> underscore" type="System.Int64" column="PriorJurisdictionID"
> update="false" insert="false" />
>     <property name="IsSpecialAssistanceRequired"
> access="field.camelcase-underscore" type="System.Boolean"
> column="IsSpecialAssistanceRequired" not-null="false" />
>     <property name="LanguageIDField" access="field.camelcase-
> underscore" type="System.Int64" column="LanguageID" update="false"
> insert="false" />
>     <property name="ScannedSignaturePath" access="field.camelcase-
> underscore"
> type="Helios.Repository.UDT.EmptyStringUserType,Helios.Repository"
> column="ScannedSignaturePath" not-null="false" />
>     <property name="ScannedAffidavitPath" access="field.camelcase-
> underscore"
> type="Helios.Repository.UDT.EmptyStringUserType,Helios.Repository"
> column="ScannedAffidavitPath" not-null="false" />
>     <property name="IsAllElections" access="field.camelcase-
> underscore" type="System.Boolean" column="IsAllElections" not-
> null="false" />
>     <property name="IsSomeElections" access="field.camelcase-
> underscore" type="System.Boolean" column="IsSomeElections" not-
> null="false" />
>     <property name="IsOverseas" access="field.camelcase-underscore"
> type="System.Boolean" column="IsOverseas" not-null="false" />
>     <property name="IsRemoteAK" access="field.camelcase-underscore"
> type="System.Boolean" column="IsRemoteAK" not-null="false" />
>     <property name="DateBecameConfidential" access="field.camelcase-
> underscore" type="System.DateTime" column="DateBecameConfidential" not-
> null="false" />
>     <property name="DateConfidentialExpires" access="field.camelcase-
> underscore" type="System.DateTime" column="DateConfidentialExpires"
> not-null="false" />
>     <property name="IsSealed" access="field.camelcase-underscore"
> type="System.Boolean" column="IsSealed" not-null="false" />
>     <property name="HasOptOutOfVIG" access="field.camelcase-
> underscore" type="System.Boolean" column="HasOptOutOfVIG" not-
> null="false" />
>     <property name="IsPotentialWorker" access="field.camelcase-
> underscore" type="System.Boolean" column="IsPotentialWorker" not-
> null="false" />
>     <property name="IsExemptFromRequiredIDNumber"
> access="field.camelcase-underscore" type="System.Boolean"
> column="IsExemptFromRequiredIDNumber" not-null="false" />
>     <property name="VoterExemptionReasonID" access="field.camelcase-
> underscore" type="System.Int64" column="VoterExemptionReasonID" not-
> null="false" />
>     <property name="IsIncludedForBusinessReplyAccount"
> access="field.camelcase-underscore" type="System.Boolean"
> column="IsIncludedForBusinessReplyAccount" not-null="false" />
>     <property name="Returned8d2Date" access="field.camelcase-
> underscore" type="System.DateTime" column="Returned8d2Date" not-
> null="false" />
>     <property name="IDStatusDate" access="field.camelcase-underscore"
> type="System.DateTime" column="IDStatusDate" not-null="false" />
>     <property name="BatchProcessDate" access="field.camelcase-
> underscore" type="System.DateTime" column="BatchProcessDate" not-
> null="false" />
>     <property name="PriorHouseDistrictIDField" access="field.camelcase-
> underscore" type="System.Int64" column="PriorHouseDistrictID"
> update="false" insert="false" />
>     <property name="CommentIDField" access="field.camelcase-
> underscore" type="System.Int64" column="CommentID" update="false"
> insert="false" />
>     <property name="VoterStatusID" access="field.camelcase-underscore"
> type="System.Int64" column="VoterStatusID" not-null="false" />
>     <property name="VoterReasonID" access="field.camelcase-underscore"
> type="System.Int64" column="VoterReasonID" not-null="false" />
>     <property name="RegisteredDateHouseAK" access="field.camelcase-
> underscore" type="System.DateTime" column="RegisteredDateHouseAK" not-
> null="false" />
>     <property name="RegisteredDateSenateAK" access="field.camelcase-
> underscore" type="System.DateTime" column="RegisteredDateSenateAK" not-
> null="false" />
>     <property name="RegisteredDateJudicialAK" access="field.camelcase-
> underscore" type="System.DateTime" column="RegisteredDateJudicialAK"
> not-null="false" />
>     <property name="VoterRegistrationDeliveryMethodIDField"
> access="field.camelcase-underscore" type="System.Int64"
> column="VoterRegistrationDeliveryMethodID" update="false"
> insert="false" />
>     <property name="VoterRegistrationSourceIDField"
> access="field.camelcase-underscore" type="System.Int64"
> column="VoterRegistrationSourceID" update="false" insert="false" />
>     <property name="IsSendNoticeVNC" access="field.camelcase-
> underscore" type="System.Boolean" column="IsSendNoticeVNC" not-
> null="false" />
>     <property name="IsSendNoticeMIN" access="field.camelcase-
> underscore" type="System.Boolean" column="IsSendNoticeMIN" not-
> null="false" />
>     <property name="IsSendNotice8d2" access="field.camelcase-
> underscore" type="System.Boolean" column="IsSendNotice8d2" not-
> null="false" />
>     <property name="DateBecamePVBM" access="field.camelcase-
> underscore" type="System.DateTime" column="DateBecamePVBM" not-
> null="false" />
>     <property name="RestoredDate" access="field.camelcase-underscore"
> type="System.DateTime" column="RestoredDate" not-null="false" />
>     <property name="SuspendedDate" access="field.camelcase-underscore"
> type="System.DateTime" column="SuspendedDate" not-null="false" />
>     <property name="RegistrarIDField" access="field.camelcase-
> underscore" type="System.Int64" column="RegistrarID" update="false"
> insert="false" />
>     <property name="IsPAV" access="field.camelcase-underscore"
> type="System.Boolean" column="IsPAV" not-null="false" />
>     <property name="Sent8d2Date" access="field.camelcase-underscore"
> type="System.DateTime" column="Sent8d2Date" not-null="false" />
>     <property name="IsSendFAN" access="field.camelcase-underscore"
> type="System.Boolean" column="IsSendFAN" not-null="false" />
>     <property name="IsSendPJN" access="field.camelcase-underscore"
> ...
>
> read more »

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to