public void Boolean(int i, string name) { Column(name, Name(i)); var ext = new ExtType {Type = DbCommonType.Boolean}; _parameters.Add(ext); }
public string WhereParameter(int i, DbType type) { var ext = new ExtType(); if (type == DbType.Binary) ext.Type = DbCommonType.LongBinary; else if (type == DbType.Xml) ext.Type = DbCommonType.Xml; else if (type == DbType.Boolean) ext.Type = DbCommonType.Boolean; else if (type == DbType.Guid) ext.Type = DbCommonType.Guid; ext.DBType = type; _parameters.Add(ext); return Name(i); }
public void Parameter(int i, string name, DbType type) { Column(name, Name(i)); var ext = new ExtType(); if (type == DbType.Binary) ext.Type = DbCommonType.LongBinary; else if (type == DbType.Xml) ext.Type = DbCommonType.Xml; else if (type == DbType.Boolean) ext.Type = DbCommonType.Boolean; else if (type == DbType.Guid) ext.Type = DbCommonType.Guid; ext.DBType = type; _parameters.Add(ext); }
public void VarBinary(int i, string name) { Column(name, Name(i)); var ext = new ExtType {Type = DbCommonType.LongBinary}; _parameters.Add(ext); }
public void LongString(int i, string name) { Column(name, Name(i)); var ext = new ExtType {Type = DbCommonType.LongChar}; _parameters.Add(ext); }