예제 #1
0
 public override string ToSQLLiteral(object @object)
 {
     Net.Vpc.Upa.Impl.Persistence.TypeMarshaller wrapper = GetMarshallManager().GetTypeMarshaller(@object.GetType());
     if (wrapper != null && wrapper.GetType() != GetType())
     {
         return(wrapper.ToSQLLiteral(@object));
     }
     throw new System.Exception("literal not supported for Objects");
 }
 public override string ToSQLLiteral(object @object)
 {
     if (@object == null)
     {
         return(base.ToSQLLiteral(@object));
     }
     Net.Vpc.Upa.Impl.Persistence.TypeMarshaller wrapper = pm.GetTypeMarshaller(@object.GetType());
     if (wrapper != null && wrapper.GetType() != GetType())
     {
         return(wrapper.ToSQLLiteral(@object));
     }
     throw new System.Exception("litteral not supported for Objects (" + @object + " as " + @object.GetType() + ")");
 }