AnantLabs / codesmith

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

Partial methods InsertXXXX not firing #586

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a PLINQO template
2. Create a partial class for one of your entities XXX
3. Create a partial InsertXXX method (based on the templated one)

What is the expected output? What do you see instead?

I was expecting my InsertXXX method to automatically get fired (like the 
description said), but it didn't. Set a breakpoint but nothing happens.

What version of the product are you using?

CS 5.3.3.12729, Plinqo 5.0.4

Please provide any additional information below.

I searched through the generated code and couldn't find any reference to 
InsertXXX actually being called 

Original issue reported on code.google.com by sigoldst...@gmail.com on 14 Jun 2011 at 2:50

GoogleCodeExporter commented 9 years ago
I took a look into this and I believe that they are only ever called when you 
set up Stored Procedure overrides. We will look into this issue and see what we 
can do to resolve this issue in a future version. In the mean time, I'd 
recommend using the rules engine for modifying the behavior.

Original comment by bniemyjski on 15 Jun 2011 at 10:07