yasser777 / nettiers

Automatically exported from code.google.com/p/nettiers
0 stars 0 forks source link

Poor performance code #284

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the generated code 
for .Data.Bases.EntityProviderBaseCore.generated.cs
2. Navigate to the method public virtual TList<Entity> Save
(TransactionManager mgr, TList<Entity> entities)
3. Take a look at the second and third foreach loops!

What is the expected output? What do you see instead?
The expected output is just one foreach loop, which calls Save(mgr, 
entity) regardless of the IsNew state on the entity.

What version of .netTiers and CodeSmith are you using?
.netTiers 2.3.0.807
CodeSmith 5.1

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mdame...@gmail.com on 4 Mar 2010 at 11:02

GoogleCodeExporter commented 9 years ago
Hello,

I took a look at the file in question and didn't see the loops. Could you 
please copy and paste the method in question.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 21 Sep 2010 at 12:18