sunkaixuan
8 years ago
21 changed files with 114 additions and 52 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,65 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Data; |
|||
using System.Data.Common; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace SqlSugar |
|||
{ |
|||
public class SugarParameter : DbParameter |
|||
{ |
|||
|
|||
public SugarParameter(string name, object value) |
|||
{ |
|||
this.Value = value; |
|||
this.ParameterName = name; |
|||
} |
|||
|
|||
public override System.Data.DbType DbType |
|||
{ |
|||
get;set; |
|||
} |
|||
|
|||
public override ParameterDirection Direction |
|||
{ |
|||
get;set; |
|||
} |
|||
|
|||
public override bool IsNullable |
|||
{ |
|||
get;set; |
|||
} |
|||
|
|||
public override string ParameterName |
|||
{ |
|||
get;set; |
|||
} |
|||
|
|||
public override int Size |
|||
{ |
|||
get;set; |
|||
} |
|||
|
|||
public override string SourceColumn |
|||
{ |
|||
get;set; |
|||
} |
|||
|
|||
public override bool SourceColumnNullMapping |
|||
{ |
|||
get;set; |
|||
} |
|||
public string UdtTypeName { get; internal set; } |
|||
public override object Value |
|||
{ |
|||
get;set; |
|||
} |
|||
|
|||
public override void ResetDbType() |
|||
{ |
|||
this.DbType = System.Data.DbType.String; |
|||
} |
|||
} |
|||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue