public virtual string AfterCast(DateTimeSqlLiteralType sqlLiteralType , PropertyType propertyType , ColumnInfo aColumnInfo , string sqlLiteralValue) { return(sqlLiteralValue); }
public virtual object BeforeCast(DateTimeSqlLiteralType sqlLiteralType , PropertyType propertyType , ColumnInfo aColumnInfo , object propertyValue) { return(propertyValue); }
internal string CastTo(DateTimeSqlLiteralType sqlLiteralType , ColumnInfo aColumnInfo , object propertyValue) { object value = this.BeforeCast_PropertyType(aColumnInfo, propertyValue); value = this.BeforeCast(sqlLiteralType, aColumnInfo, value); string castedValue = this.CastToImp(sqlLiteralType, value); castedValue = this.AfterCast(sqlLiteralType, aColumnInfo, castedValue); return(this.AfterCast_PropertyType(aColumnInfo, castedValue)); }
protected abstract string CastToImp(DateTimeSqlLiteralType sqlLiteralType , object propertyValue);