Questions tagged [.nettiers]

.netTiers is a set of open source code generation templates that simplify the tasks of creating customized Application Tiers for your Microsoft.Net applications in just a few minutes.

The official product page can be found here and official community support should be logged here.

58 questions
2
votes
5 answers

ORM Tool - Crossroads?

Hi I seem to be at an ORM Tool crossroad and would like some advice of people who have faced a similar challenge. In the past I have been using CodeSmith with NetTiers Templates to generate my DAL all has been quite good, however I have decided to…
Rippo
  • 20,457
  • 13
  • 68
  • 112
1
vote
1 answer

How to call SQL Function directly from CodeSmith generated service dlls

In a project we are using CodeSmith to generate database layer, Codesmith seperate creates service classes for each SQL View and SQL Table, using these service classes we can call StoredProcedures that has prefix "ViewOrTableName". My problem is…
Imran Rizvi
  • 6,971
  • 10
  • 52
  • 94
1
vote
2 answers

How to mock or stub a .netTiers generated DataRepository object

I am using Rhino mocks for unit test mocking of objects. Our DAL uses codesmith to generate code from .netTiers templates, which creates these DataRepository classes that contain all the methods for CRUD type transaction to the datasource. In unit…
mirezus
  • 12,316
  • 11
  • 34
  • 42
1
vote
1 answer

.nettiers Changing connections at run time

Are there any .netTiers ninjas out there that know how to change the database connection at run time? I've found the following article on their documentation: http://www.nettiers.net/DataLayer.ashx Towards the end, it has a code snippet…
Scot
  • 562
  • 1
  • 7
  • 24
1
vote
1 answer

nettiers data class library not recognized

I needed to make a console application using nettiers class libraries. I created a new Console Application project, added references to all the libraries from NetTiers and created an app.config file with all the necessary configurations. I get…
stephenbayer
  • 11,718
  • 15
  • 59
  • 98
1
vote
0 answers

Using Machine.Config and Global Assembly Cache for ActiveX controls - Recommended or not?

I'm currently working with an intranet site which requires the use of an ActiveX control to do some Client side functions. However the app normally reads some settings from the Web.Config (We are using the .netTiers framework). I've found I can get…
BenDTU
  • 11
  • 2
1
vote
1 answer

How to create nettiers templates from compiled code that was generated in nettiers

I have recently inherited a web site application that incorporates layers generated in nettiers. I need to continue to use these layers, but as I develop and update my database design, I need to regenerate these layers. I do not have the templates…
Seanhrt
  • 11
  • 1
1
vote
2 answers

.netTiers vs SubSonic

I had some time this afternoon to run a head to head comparison between netTiers and SubSonic. I used code generated using SubStage (part of the SubSonic 2.1 release) and I used RepositoryRecord as my base class. I ran the same test against the same…
tony.wiredin
  • 587
  • 7
  • 21
1
vote
1 answer

Can the .netTiers framework be used with windows forms

Does nettiers available for windows form? it is very good template for codesmith code generator. asked because of : this http://community.codesmithtools.com/nettiers/f/16/p/11316/43250.aspx#43250 if yes give me link for more information,
Shahin
  • 11,703
  • 37
  • 120
  • 199
1
vote
1 answer

StackOverflowException serializing a .netTiers entity

I have a simple WCF service: public Order[] GetOrdersByStatus(int statusid) { OrderService os = new OrderService(); TList orders = os.GetByOrderStateID(statusid); return orders.ToArray(); } when this returns it throws a…
joshperry
  • 37,916
  • 15
  • 83
  • 99
1
vote
1 answer

Stick with NetTiers or move to Entity Framework

I have been using NetTiers for a long time in my projects and I have not have issues. But now I am considering taking my development to Visual Studio 2013 and NetTiers doesn't support the platform. I have read a couple stuff on Entity Framework and…
Kacey Ezerioha
  • 650
  • 2
  • 14
  • 36
1
vote
1 answer

Data not refreshing in netTier DAL- possibly caching issue?

We're having a strange issue with one entity/data-source seemingly caching data in Data Access layer. Basically the tables are a standard SQL Server table (SQL server 2008 R2). The code is generated the same way using the same template(NetTier…
1
vote
4 answers

Visual Studio solution structure using Codesmith frameworks (NetTiers / Plinqo)

I have been using the Codesmith framework NetTiers to generate a DAL etc., into a folder called, say, 'NetTiers', outside my main project's folder, and referencing the DLLs within that folder from my main project. I've started using the Plinqo…
Ralph Lavelle
  • 5,325
  • 4
  • 32
  • 44
1
vote
2 answers

Want a Strongly Typed Result from a JOIN in .netTiers

Given a query like: SELECT table1.field1 FirstField, table2.field2 SecondField FROM table1 INNER JOIN table2 ON table1.FK = table2.PK WHERE table1.somefield = 'somevalue'; My objective is to return a strongly typed result set using…
Bob Kaufman
  • 12,215
  • 15
  • 76
  • 102
0
votes
1 answer

NetTiers 2.3 generation failing

I have a .nettiers 2.3 template that I have been generating from a SQL Server 2008 database which has been working for some time. In the last few days, however, the generation has been failing with the output saying there is 1 Error/Warning, but I…
Steve
  • 8,822
  • 10
  • 42
  • 73