C# 클래스 PdfRpt.DataSources.SqlParametersParser

A class to parse defined parameters in sql statements automatically.
파일 보기 프로젝트 열기: VahidN/PdfReport 1 사용 예제들

공개 메소드들

메소드 설명
ApplySafeParameters ( DbCommand cmd, string sqlWithAtSignParameters ) : void

Parsing defined parameters in sql statements and converting them to DbParameters automatically

비공개 메소드들

메소드 설명
createParameters ( DbCommand cmd, string commandText ) : IEnumerable
removeDuplicates ( MatchCollection ms ) : IList

메소드 상세

ApplySafeParameters() 공개 정적인 메소드

Parsing defined parameters in sql statements and converting them to DbParameters automatically
public static ApplySafeParameters ( DbCommand cmd, string sqlWithAtSignParameters ) : void
cmd System.Data.Common.DbCommand DbCommand
sqlWithAtSignParameters string sql statement with parameters started with @
리턴 void