I have a simple WCF service:
public Order[] GetOrdersByStatus(int statusid)
{
OrderService os = new OrderService();
TList<Order> orders = os.GetByOrderStateID(statusid);
return orders.ToArray();
}
when this returns it throws a StackOverflowException in mscorlib. Any idea what could be causing this?
The OrderService is a...
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...
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...
I use a code generator (CodeSmith with .NetTiers template) to generate all the DAL code. I write unit tests for my code (business layer), and these tests are becoming pretty slow to run. The problem is that for each test, I reset the database to have a clean state. Also, as I do a lot of tests, it seems that the latency of the database o...
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 testing, I am trying to mock this data repository object which has no interface class to us...
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...
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.
...
Possible Duplicate:
What is the ?? operator for?
Please explain me what is use of "??" in below code and what is "??" used for.
if ((this.OrderDate ?? DateTime.MinValue) > DateTime.Today)
{
e.Description = "The Order Date must not be in the future.";
return false;
}
the above code is at http://nettiers....