CodeSmith Community
Your Code. Your Way. Faster!

Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Passing a Generic TList to a Function

    Hello all, I am trying to write a utility function to reduce some tedious code. I need to be able to pass this custom function a TList of values of an generic type ex. myFunc( TList <T> lst ) { // do stuff w/ lst here... } I would like to be able to not specify "T" so I could pass this...
    Posted to Support (Forum) by jcarpenter on 02-05-2009
    Filed under: .netTiers, TList, Entities, Nettiers, C#, TList at Runtime, .net 2.0, collection, IList
  • Binding to cached TLists prevents GC

    After several days chasing memory problems in my WinForms .netTiers app, I've tracked the problem down to the following scenario: The app is binding TLists to combo editors (from Infragistics), and is caching some of those lists as they are static data. Now any form with one of the bound comboeditors...
    Posted to Support (Forum) by Soundwave on 12-15-2008
    Filed under: TList, Cache, Binding
  • TList memory management problem

    Hello, We have run into a large memory leak in a project we have developped using NetTiers 2.0.1. I eventually tracked it down to a problem with the use of TList, and would like some input from the group. I have attached a simplified example that shows the problem. The example should work with any version...
    Posted to Support (Forum) by keith.kelly on 08-21-2008
    Filed under: .netTiers, .netTiers Providers, TList, .net 2.0, Memory
  • Re: Question on TList Filter functionality

    You can do this in VB. Your predicate doesn't have to be in-line. Modified something I had to make generic example for you. Hope it helps. The code this was based on was working but this code is untested. Private Shared Function GetByFilter() As Entities.TList( Of Entities.Email) Dim predicate As...
    Posted to Support (Forum) by rhettc on 07-03-2008
    Filed under: Filter, TList, Visual Basic
  • Custom stored proc was returning Tlist now returning dataset

    Hi There I have a custom stored proc _EmergencyCard_GetPerson that I used to generate GetPerson Method in the EmergencyCardService. I want the Method to be returned as a Tlist. The first time i ran it it ran correctly.Everything was working fine. When i changed a field in the stored procedure and genrated...
    Posted to Support (Forum) by StantonR on 06-21-2008
    Filed under: .netTiers, Custom Stored Procedure, TList
  • TList Child Collection Not Generated

    Hi All - I just tried upgrading from .netTiers 2.2.0.603 to 2.2.0.732 today and ran into an issue where a TList Collection was not generated for a many to many relationship. I am using CodeSmith 4.1.4 revision 3592 from the command line and my current DB schema (which has not been changed) worked just...
    Posted to Support (Forum) by drhoten on 06-05-2008
    Filed under: .netTiers, ManyToManyListRelationship, TList, ManyToMany, collection, ManyToMany Schema, ManyToMany Schema m:n Master Detail Master Child
  • Thread safe IBindingList?

    Hi All, I am trying to update a collection bound to a DataGridView through a BindingSource and using a BindingNavigator for my grid commands. One of these commands updates the data bound items in bulk in a separate thread. This causes a cross-thread operation exception to be thrown by the binding navigator...
    Posted to General (Forum) by marioh on 11-13-2007
    Filed under: Multi-threading, TList, ListBase, Windows Forms, VList, ISynchronizeInvoke
  • Help with Binding TList EntityGridView

    Hey guys, I am new to nettiers and I would like to knwo the way how to manually bind the TList<Entity> to EntityGridView, I got sorting exception when trying to use this. I saw a post said that TList could not work with EntityGridView, and just wondering that is there any fixed for that. I used...
    Posted to Support (Forum) by popoxinhxan on 07-01-2007
    Filed under: TList, EntityGridView
  • Converting TList to DataSet gives empty result

    Hi all, I'm trying to get a DataSource from.NetTiers. I've read the posts in this forum and followed some suggestions. Here is how everyone suggested: TList<Cities> cityList = DataRepository.CitiesProvider.GetAll(); DataSet ds = cityList.ToDataSet(false); //when I set this to true, it gives...
    Posted to Support (Forum) by hellocrowley on 06-14-2007
    Filed under: TList, DataSet, ToDataSet
  • Use TableName to create Entity object, Service object, and TList for that table

    If I have an EntityName (tablename) as a string: 1) The EnitityFactory will seemingly create the Entity object at run time given the entity name. 2) But creating the Service Object is not clear. How does one get an Entities Service object at run time? 3) Can you create a TList object at runtime if you...
    Posted to Support (Forum) by JOERICH on 02-26-2007
    Filed under: .netTiers Providers, TList, Service layer, Entities Service object at run time, TList at Runtime
Page 1 of 3 (24 items) 1 2 3 Next >
Copyright © 2010 CodeSmith Tools, LLC