Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
simondeutsch
Aged Yak Warrior
547 Posts |
Posted - 2008-11-10 : 14:54:51
|
I'm new to CLR programming, so pardon the amateurish question. If I want TableX to have an INSERT and UPDATE trigger in CLR code, does this need 2 separate classes? |
|
simondeutsch
Aged Yak Warrior
547 Posts |
Posted - 2008-11-10 : 15:06:02
|
Hmmm...apparently, the simplest solution would be to create an AFTER INSERT,UPDATE trigger and use only one class, checking the TriggerAction if it was fired by an insert or update. |
 |
|
|
|
|