![]() |
#2 |
Moderator
|
Какая версия системы? Если 4.0 то можно использовать что-то вроде:
Код: public void Execute(IPluginExecutionContext context) { DynamicEntity entity = null; // Check if the input parameters property bag contains a target // of the create operation and that target is of type DynamicEntity. if (context.InputParameters.Properties.Contains("Target") && context.InputParameters.Properties["Target"] is DynamicEntity) { // Obtain the target business entity from the input parmameters. entity = (DynamicEntity)context.InputParameters.Properties["Target"]; *** } }
__________________
http://fixrm.wordpress.com, снятие/наведение порчи. Быстро, дорого, гарантия. ![]() ![]() |
|
|
За это сообщение автора поблагодарили: netmstnet (1). |
|
|