From cdde2dee90250aba44cd34816d9144bb6fa5dbc4 Mon Sep 17 00:00:00 2001 From: "simon.cropp" Date: Mon, 2 May 2011 19:40:41 +1000 Subject: [PATCH] remove some unused properties --- Dapper/SqlMapper.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Dapper/SqlMapper.cs b/Dapper/SqlMapper.cs index cdbc07f3..11c6b4b8 100644 --- a/Dapper/SqlMapper.cs +++ b/Dapper/SqlMapper.cs @@ -85,19 +85,12 @@ namespace Dapper private class Identity : IEquatable { - - 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) { this.sql = sql; this.connectionString = cnn.ConnectionString; this.type = type; this.parametersType = parametersType; - this.otherTypes = otherTypes; unchecked { hashCode = 17; // we *know* we are using this in a dictionary, so pre-compute this @@ -121,7 +114,6 @@ namespace Dapper private readonly string sql; private readonly int hashCode; private readonly Type type; - private readonly Type[] otherTypes; private readonly string connectionString; private readonly Type parametersType; public override int GetHashCode()