Re: Entitity Framework, problem with lazy loading
Posted by: Simon Beverton
Date: May 21, 2009 05:01PM

I am having exactly the same issue - is it to do with unsigned ints being used in the database?

[System.ArgumentOutOfRangeException] = {"The specified parameter type 'System.UInt32' is not valid. Only scalar types, such as System.Int32, System.Decimal, System.DateTime, and System.Guid, are supported.\r\nParameter name: parameter"}

at System.Data.Objects.ObjectParameterCollection.Add(ObjectParameter parameter)
at System.Data.Objects.DataClasses.RelatedEnd.CreateSourceQuery[TEntity](MergeOption mergeOption)
at System.Data.Objects.DataClasses.RelatedEnd.ValidateLoad[TEntity](MergeOption mergeOption, String relatedEndName)
at System.Data.Objects.DataClasses.EntityCollection`1.Load(IEnumerable`1 collection, MergeOption mergeOption)
at System.Data.Objects.DataClasses.EntityCollection`1.Load(MergeOption mergeOption)

Options: ReplyQuote

Written By
Re: Entitity Framework, problem with lazy loading
May 21, 2009 05:01PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.