Example #1
0
        public static WrapType <Guid> GuidFromString(String sVal)
        {
            WrapType <Guid> res = DBNull.Value;

            if (!String.IsNullOrEmpty(sVal))
            {
                res = Guid.Parse(sVal);
            }
            return(res);
        }
Example #2
0
 public WrapType(WrapType <T> src)
 {
     if (src == null)
     {
         m_fNull = true;
     }
     else
     {
         m_val   = src.m_val;
         m_fNull = src.m_fNull;
     }
 }