Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dapper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
Dapper
Commits
18c01151
Commit
18c01151
authored
May 02, 2011
by
simon.cropp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some unused properties
parent
593e2b63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
SqlMapper.cs
Dapper/SqlMapper.cs
+0
-8
No files found.
Dapper/SqlMapper.cs
View file @
18c01151
...
@@ -85,19 +85,12 @@ private static DbType LookupDbType(Type type)
...
@@ -85,19 +85,12 @@ private static DbType LookupDbType(Type type)
private
class
Identity
:
IEquatable
<
Identity
>
private
class
Identity
:
IEquatable
<
Identity
>
{
{
public
String
ConnectionString
{
get
{
return
connectionString
;
}
}
public
Type
Type
{
get
{
return
type
;
}
}
public
Type
Type2
{
get
{
return
Type2
;
}
}
public
string
Sql
{
get
{
return
sql
;
}
}
public
Type
ParametersType
{
get
{
return
ParametersType
;
}
}
internal
Identity
(
string
sql
,
IDbConnection
cnn
,
Type
type
,
Type
parametersType
,
Type
[]
otherTypes
=
null
)
internal
Identity
(
string
sql
,
IDbConnection
cnn
,
Type
type
,
Type
parametersType
,
Type
[]
otherTypes
=
null
)
{
{
this
.
sql
=
sql
;
this
.
sql
=
sql
;
this
.
connectionString
=
cnn
.
ConnectionString
;
this
.
connectionString
=
cnn
.
ConnectionString
;
this
.
type
=
type
;
this
.
type
=
type
;
this
.
parametersType
=
parametersType
;
this
.
parametersType
=
parametersType
;
this
.
otherTypes
=
otherTypes
;
unchecked
unchecked
{
{
hashCode
=
17
;
// we *know* we are using this in a dictionary, so pre-compute this
hashCode
=
17
;
// we *know* we are using this in a dictionary, so pre-compute this
...
@@ -121,7 +114,6 @@ public override bool Equals(object obj)
...
@@ -121,7 +114,6 @@ public override bool Equals(object obj)
private
readonly
string
sql
;
private
readonly
string
sql
;
private
readonly
int
hashCode
;
private
readonly
int
hashCode
;
private
readonly
Type
type
;
private
readonly
Type
type
;
private
readonly
Type
[]
otherTypes
;
private
readonly
string
connectionString
;
private
readonly
string
connectionString
;
private
readonly
Type
parametersType
;
private
readonly
Type
parametersType
;
public
override
int
GetHashCode
()
public
override
int
GetHashCode
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment