Esempio n. 1
0
 sealed class G : MB <Guid>        { public override void To(IMapDataDestination d, object o, int i, Guid v)
                                     {
                                         d.SetGuid(o, i, v);
                                     }
Esempio n. 2
0
 public override void Map(IMapDataSource source, object sourceObject, int sourceIndex, IMapDataDestination destination, object destinationObject, int destinationIndex)
 {
     if(source.IsNull(sourceObject, sourceIndex))
     {
         destination.SetGuid(destinationObject, destinationIndex, Guid.Empty);
     }
     else
     {
         destination.SetGuid(destinationObject, destinationIndex, source.GetGuid(sourceObject, sourceIndex));
     }
 }