- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
public enum SqlCallType {
Text = 1,
StoredProcedure = 2
}
private SqlCallType ConvertToSqlCallType(int sqlCallType) {
SqlCallType type = (SqlCallType)0;
if (sqlCallType == (int)SqlCallType.Text) {
type = SqlCallType.Text;
}
else if (sqlCallType == (int)SqlCallType.StoredProcedure) {
type = SqlCallType.StoredProcedure;
}
return type;