예제 #1
0
 public WsSetMapper(WsObjectMapperInfo mapperInfo)
 {
     _mapperInfo = mapperInfo;
     if (mapperInfo.ProxyClassNameSelect != null)
     {
         _proxyTypeSelect = Type.GetType(mapperInfo.ProxyClassNameSelect);
     }
     if (mapperInfo.ProxyCallbackClassNameSelect != null)
     {
         _callbackTypeSelect = Type.GetType(mapperInfo.ProxyCallbackClassNameSelect);
     }
 }
예제 #2
0
 public WsRecordMapper(WsObjectMapperInfo mapperInfo)
 {
     _mapperInfo = mapperInfo;
     if (mapperInfo.ProxyClassNameSelect != null)
     {
         _proxyTypeSelect = Type.GetType(mapperInfo.ProxyClassNameSelect);
     }
     if (mapperInfo.ProxyClassNameInsert != null)
     {
         _proxyTypeInsert = Type.GetType(mapperInfo.ProxyClassNameInsert);
     }
     if (mapperInfo.ProxyClassNameUpdate != null)
     {
         _proxyTypeUpdate = Type.GetType(mapperInfo.ProxyClassNameUpdate);
     }
     if (mapperInfo.ProxyClassNameDelete != null)
     {
         _proxyTypeDelete = Type.GetType(mapperInfo.ProxyClassNameDelete);
     }
     if (mapperInfo.ProxyCallbackClassNameSelect != null)
     {
         _callbackTypeSelect = Type.GetType(mapperInfo.ProxyCallbackClassNameSelect);
     }
     if (mapperInfo.ProxyCallbackClassNameInsert != null)
     {
         _callbackTypeInsert = Type.GetType(mapperInfo.ProxyCallbackClassNameInsert);
     }
     if (mapperInfo.ProxyCallbackClassNameUpdate != null)
     {
         _callbackTypeUpdate = Type.GetType(mapperInfo.ProxyCallbackClassNameUpdate);
     }
     if (mapperInfo.ProxyCallbackClassNameDelete != null)
     {
         _callbackTypeDelete = Type.GetType(mapperInfo.ProxyCallbackClassNameDelete);
     }
 }