in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • 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 .netTiers - General Support (Forum) by JOERICH on 02-26-2007
    Filed under: .netTiers Providers, Entities Service object at run time, Service layer, TList, TList at Runtime
  • Re: DeepSave - A Few Questions / Issues

    Vin, Yes, you are quite correct. In the instances where I had been using MarkToDelete I wasn't doing anything with the collection after the DeepSave so it made no difference to me, but as you quite rightly state the TList is more consistent with the database when using the RemoveEntity method - so that...
    Posted to .netTiers - General Support (Forum) by swin on 02-12-2007
    Filed under: DeepSave, MarkToDelete, RemoveEntity, TList
  • Re: Is the PK can't be the bigint?

    No, the index you are refering to is just the position within the TList. A list just stores references to other objects and these objects can contain whatever you like. The TList is a specialisation of the BindingList which uses int32 as its index - which represents signed integers with values ranging...
    Posted to .netTiers - General Support (Forum) by swin on 01-30-2007
    Filed under: TList
  • Re: TList not generating

    Here is the dump. Note: I removed the @@ROWCOUNT from my custom stored proc based on a post I found in this forum dating back to March 2006 or so. The whole custom is shown above and the GetAll call inside VS2005 does show a TList. set ANSI_NULLS OFF set QUOTED_IDENTIFIER ON GO /* ------------------...
    Posted to .netTiers - General Support (Forum) by w_neil_anderson on 01-05-2007
    Filed under: TList
  • TList not generating

    I have a custom stored procedure that only builds Dataset objects and I need a TList. Here is the SQL: set ANSI_NULLS OFF set QUOTED_IDENTIFIER ON GO /* ---------------------------------------------------------------------------------------------------- -- Date Created: Friday, December 01, 2006 -- Created...
    Posted to .netTiers - General Support (Forum) by w_neil_anderson on 01-04-2007
    Filed under: TList
  • ListBase, DescriptionAttribute, and Database Settings

    Greetings, If you generate NetTiers from a SQL 2005 data structure (we did not test SQL 2000), and the columns within the SQL 2005 data structure contain descriptions, the ToDataSet(...) method for ListBase will innocuously fail by not returning any metadata about the list. After some investigation,...
    Posted to .netTiers - Bug Reports (Forum) by noyceb on 12-21-2006
    Filed under: bug, TList
  • Problem in building dynamic queries, using Order by and built in Stored Procedures

    Hi, I have a problem with building dynamic queries. There is table XXX with a Primary key “pk_id” in it. That table also has a column called “deleted”. Say I want to get a single record based on a particular id and deleted tag is 0. So, what I have done is created a sp for it Create procedure getbyidcheckdeltag...
    Posted to .netTiers - General Support (Forum) by Knuckels23 on 11-10-2006
    Filed under: TList
  • TList not exist in the class or namespace

    When i debug ,there are error msg like this: name "TList" does not exist in the class or namespace there is my code: ----------------------------------------------------------- TList<Employees> employees = DataRepository.EmployeesProvider.GetAll(); employees.Sort(EmployeeColumns.LastName, ListSortDirection...
    Posted to .netTiers - Bug Reports (Forum) by dongshan on 11-02-2006
    Filed under: TList
  • Please Help with getting started from Wiki

    Hi all, having some trouble so I read over Wiki again and started from the "Getting Started" page: http://wiki.nettiers.com/gettingstarted2 I have generated from Northwind to keep things simple: Northwind.Data Northwind.Data.SqlClient Northwind.Entities Northwind.Services Northwind.Web Northwind.WebSite...
    Posted to .netTiers - General Support (Forum) by Axe on 11-02-2006
    Filed under: .netTiers, ComponentLayer, DataBinding, TList
  • Re: CopyTo vs Clone vs Copy Question

    Looks like the entities Clone method is not persisting state. It's resetting state by calling AcceptChanges(). So that it's a clone of the data but not of state. I'm not 100% positive on best practices for this one. I'll google around and maybe one of you that knows the answer could chime in as well...
    Posted to .netTiers - General Support (Forum) by Robert Hinojosa on 10-20-2006
    Filed under: Clone, TList
Page 1 of 2 (17 items) 1 2 Next >
Copyright © 2007 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems