C# 클래스 Azavea.Open.DAO.Tests.SqlUtilTests

파일 보기 프로젝트 열기: azavea/net-dao

공개 메소드들

메소드 설명
TestGetNullableTableMappingFromSchema ( AbstractSqlConnectionDescriptor connDesc, string nullableTableName ) : void

Tests the classmapping generation off the nullable table schema.

비공개 메소드들

메소드 설명
AssertParameterPlaceholders ( DbCommand cmd ) : void
AssertParameterPlaceholders ( string sql ) : void
AssertPerformance ( object input, Type desiredType, int loopCount, System.TimeSpan max ) : void
FindParameterPlaceholdersInACommand ( ) : void
FindParametersThrowsIfACommandIsTableDirect ( ) : void
FindParametersThrowsIfACommandisStoredProcedure ( ) : void
FindSingleParameterPlaceholderInSql ( ) : void
FindTwoParameterPlaceholdersInSql ( ) : void
ParameterPlaceholderAfterDoubleQuotedStringIsFound ( ) : void
ParameterPlaceholderAfterSingleQuotedStringIsFound ( ) : void
SkipParameterPlaceholdersInDoubleQuottedString ( ) : void
SkipParameterPlaceholdersInSingleQuottedString ( ) : void
TestMakeDeleteStatement ( ) : void
TestMakeInsertStatement ( ) : void
TestMakeUpdateStatement ( ) : void
TestMakeWhereClause ( ) : void
TestTypePerformance ( ) : void

메소드 상세

TestGetNullableTableMappingFromSchema() 공개 정적인 메소드

Tests the classmapping generation off the nullable table schema.
public static TestGetNullableTableMappingFromSchema ( AbstractSqlConnectionDescriptor connDesc, string nullableTableName ) : void
connDesc Azavea.Open.DAO.SQL.AbstractSqlConnectionDescriptor Connection descriptor for your particular database.
nullableTableName string Correctly-cased name of the nullable table (some DBs /// are case sensitive (cough oracle, postgresql cough)
리턴 void