in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • Collections?

    I've seen in example of DeepLoad in this forum that used code like this: DataRepository.EmployeesProvider.DeepLoad(emp, true ,DeepLoadType.IncludeChildren, new Type[] { typeof (OrdersCollection), typeof (OrderDetailsCollection)}); Notice the OrdersCollection. I don't have any such types in my output...
    Posted to .netTiers - General Support (Forum) by ToddMoon on 05-23-2007
    Filed under: .netTiers, DeepLoad
  • Patch for DeepLoad/DeepSave StackOverflowException problem and InvalidCastException in Equals method

    Hi! StackOverflowException problem This is due to the clone() implementation in entity classes not being able to detect cyclic references during deep copy of an object tree. This ends up with a StackOverflowException when DeepLoading or DeepSaving, and sometimes when a collection (an instance of TList<T>...
    Posted to .netTiers - Contributions and Patches (Forum) by janiv on 03-28-2007
    Filed under: DeepLoad, StackOverflowException, DeepSave, InvalidCastException, Clone
  • Re: Problem with deepload

    This is still not resolved. I receive a stack overflow error when attempting to deep load. My database structure allows the following: Videos have Scenes Scenes have Stars Stars belong to Scenes When querying the database, the Video and Scene tables are joined via a mapping table that has VideoID and...
    Posted to .netTiers - Bug Reports (Forum) by RyanHaney on 03-05-2007
    Filed under: DeepLoad
  • Fix for: DeepLoad Stack Overflow Error in NetTiers 2.0.1.449

    I was experiencing a circular reference error during the deep load method (see my other post: http://community.codesmithtools.com/forums/22679/ShowThread.aspx#22679 ). Can we provide another overload to deep load that takes a DeepLoadInfo array, where DeepLoadInfo is a class with three properties, a...
    Posted to .netTiers - Bug Reports (Forum) by RyanHaney on 03-01-2007
    Filed under: DeepLoad
  • Re: Best approach for inner joining to lookup tables

    Scott, Glad you were able to resolve it! As far as sorting SourceID columns take a look here for ideas http://community.codesmithtools.com/forums/thread/19895.aspx skbach: Fixed it! I didn't have EnableDeepLoad="true" set in the ProductDataSource. That wasn't in the original post (or maybe I missed it...
    Posted to .netTiers - General Support (Forum) by mike123 on 01-21-2007
    Filed under: DeepLoad, SourceID, WebAdmin
  • Re: Lazy loading revisited

    I agree with you, as I also had problems to use "Databinding" of Grids and other Windows Controls (bindingNavigators, ...) with collections of objects (but that was a while ago with NetTiers 2 beta, I didn't tried since last releases of NetTiers)... Every time it comes to speak about databinding objects...
    Posted to .netTiers - General Support (Forum) by Miketrix on 12-27-2006
    Filed under: DataBinding, DeepLoad, DeepLoading Child Collections
  • Is there a problem with deep DeepLoad?

    Hi! I tried to load a complex object with DeepLoad, but only one level got loaded even though I turned on the "deep" flag. Here is a simplified version of my schema ClientCoor (ClientCoorID, ZipCodeID, ...) ZipCode (ZipCodeID, CityID, RegionID, CountryID, ...) City (CityID, CityName) And here is my code...
    Posted to .netTiers - General Support (Forum) by velum on 12-22-2006
    Filed under: DeepLoad
  • Is this a legal data model for netTiers?

    We're having problems with DeepLoad in particular. We suspect that our data model is causing the problem, but since there are also some changes to the templates to DeepLoad / DeepSave, I want to get advice on our data model. The attachment shows the tables that are causing us problems. In particular...
    Posted to .netTiers - General Support (Forum) by davem1958@gmail.com on 12-19-2006
    Filed under: DeepLoad, DeepLoading Child Collections, DeepSave
  • Error in DeepLoad during transaction

    I am working through the NUnit tests specifically with a One To One Relationship table. I had an item where the DeepLoad was failing on a time out. The DeepLoad was trying to get an item that had been created under the transaction but not using the transaction manager. The NUnit test also wasn't sending...
    Posted to .netTiers - Bug Reports (Forum) by JJmartin on 12-07-2006
    Filed under: DeepLoad, OneToOneRelationship
  • DeepLoad question

    I have 2 tables T1 and T2. T1 (users table) userid name address T2 (invoice table) invoiceid amount useridwhoregister useridwhoupdate T2Service _t2service = new T2Service(); T2 _t2 = _t2service.DeepLoadByInvoiceId(Convert.ToInt32(Request.Params["id"]), true, DeepLoadType.IncludeChildren, typeof(T1),...
    Posted to .netTiers - General Support (Forum) by benitolopez on 11-23-2006
    Filed under: DeepLoad
Page 1 of 3 (23 items) 1 2 3 Next >
Copyright © 2007 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems