nettiers

Should I start using LINQ To SQL?

Currently I am using NetTiers to generate my data access layer and service layer. I have been using NetTiers for over 2 years and have found it to be very useful. At some point I need to look at LINQ so my questions are... Has anyone else gone from NetTiers to LINQ To SQL? Was this switch over a good or bad thing? Is there anything tha...

Anybody using .netTiers?

Hi I'm considering adopting .nettiers for a new project as it seems to provide a lot of functionality I could use. Is anybody using it in anger (I'm getting the feeling it hasn't got the following it once had) and if so, what are your perceptions of it? Also, I can't find any comparative performance metrics against things like SubSoni...

.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 database using code generated by .netTiers 2.2 The test was a derivative of the one th...

Has anyone used any .Net code generation frameworks in Mono? (Subsonic, .netTiers, etc..)

Mono appears to have really come a log way since the last time I really used it. I'm interested in doing some ASP.Net development using Mono. I have used .netTiers/CodeSmith at work and really enjoy the speed with which code generation gives you a clean working data access layer. The question is has anybody used any code generation wi...

Inner joins with NetTiers

I am performing a review on different kind of ORM tooling and DAL generators today. One of them is NetTiers. I have a classic DB model with customer, order, orderdetail, etc.. I want to perform a complex inner join on those tables. This is the orginal SQL query: SELECT [Contact].LastName, SUM(OrderRow.Amount * Product.Price) TotalAmou...

Is there any class similar to ProvidersHelper but not for web?

Is there any class similar to ProvidersHelper but not for web? I want to instantiate a collection of providers. Actually I'm using CodeSmith & Nettiers, and the db provider is Oracle. It generated a provider section to be added at app.config, and i dont know why it uses System.Web.Configuration classes or why at this section it says SQLC...

Set Command Timeout or ConnectionTimeout with NetTiers

Does anyone know how to set the ConnectionTimeout and/or CommandTimeout in NetTiers as I have a long running query that is timing out. I expect the query to be long running, its not a performance problem as such, I just need to know if anyone knows how to set this value. ...

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 .netTiers. I assume that I cannot use a view because the WHERE clause needs a parameter, whi...

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 framework, and want to use the generated files from that framework within the same project as ...

How Do SQL Transactions Work?

I have not been working in SQL too long, but I thought I understood that by wrapping SQL statements inside a transaction, all the statements completed, or none of them did. Here is my problem. I have an order object that has a lineitem collection. The line items are related on order.OrderId. I have verified that all the Ids are set and a...

ASP.NET ORM for High Scalable Websites

Which is the best option for High Scalable Websites or Enterprise Applications: LBLGen .NetTiers LinqToSQL NHybernate Repository Pattern (CodePlex) If any other available let me know. ...

An Open Source Project Made With Nettiers

Do you know any open source web application, which used nettiers as DAL inside the project? I want to see that, how thay use it in their's project. ...

selecting items from a NetTiers EntityGridView

I am using a nettiers generated EntityGridView, and I've added a method for OnSelectedIndexChanged. In that method, How do I get the currently selected entity from the EntityGridView? ...

NserviceBus throws exception when referencing a Nettiers assembly

We use nettiers as a our data layer, and we recently have started looking at using NServiceBus, but we have hit a wall. We have a windows service which hosts NSB and references our Nettiers assembly. the service is throwing an exception when the following line is encountered. var Bus = Configure.With().SpringBuilder() .Xml...

Error using nservicebus with nettiers

I'm using the nservicebus springbuilder(below) with compiles and runs fine. However once I add a single DataRepository entry in the code to call nettiers the project compiles but throws an exception on the line below: IBus Bus = Configure.With().SpringBuilder() .XmlSerializer() .MsmqTransport() ...

How do I get a scalar value from a stored proc using Nettiers

I have a really simple stored procedure that looks like this: CREATE PROCEDURE _Visitor_GetVisitorIDByVisitorGUID ( @VisitorGUID AS UNIQUEIDENTIFIER ) AS DECLARE @VisitorID AS bigint SELECT @VisitorID = VisitorID FROM dbo.Visitor WHERE VisitorGUID = @VisitorGUID --Here's what I've tried RETURN @VisitorID 'Returns an IDataReader SE...

How can I configure a netTiers datasource to use a RouteParameter instead of a QueryStringParameter?

NetTiers works fantastic out of the box using querystrings. Eg: <data:AspnetUsersDataSource ID="AspnetUsersDataSource" runat="server" SelectMethod="GetByUserId"> <Parameters> <asp:QueryStringParameter Name="UserId" QueryStringField="UserId" Type="String" /> </Parameters> </data:AspnetUsersDataSource> However, if I try...

what would make the "this" clause different?

Hi there, I have the following code: CustomerService service; public CustomerService Service { get { if (this.service == null) { this.service = new CustomerService(); } return this.service; } } public DataTable GetCustomers() { return this.Service.GetCustomers(); } Now the ...

Nettiers WPF MVVM

Can We use Nettiers in WPF? or does codesmith have any template for code generation for WPF and MVVM design pattern? i was using NetTiers And CodeSmith For Windows And Asp.net APplications. Does it available on WPF applications? please help me ...

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, ...