Source/NFX/DataAccess/CRUD/Row.cs
/// <summary>
/// Returns field value as string formatted per target DisplayFormat attribute
/// </summary>
Returns field value as string formatted per target DisplayFormat attribute
Returns field value as string formatted per target DisplayFormat attribute
public string GetDisplayFieldValue(int fieldIndex, string targetName=null, Func<object, object> transform = null)
            {
              var def = Schema[fieldIndex];
              if (def==null)
                throw new CRUDException(StringConsts.CRUD_FIELD_NOT_FOUND_ERROR.Args("[{0}]".Args(fieldIndex), Schema));
              return getDisplayFieldValue(targetName, def, transform);
            }
public string GetDisplayFieldValue ( int fieldIndex , string targetName = null , Func < object , object > transform = null ) { var def = Schema [ fieldIndex ] ; if ( def == null ) throw new CRUDException ( StringConsts . CRUD_FIELD_NOT_FOUND_ERROR . Args ( " " . Args ( fieldIndex ) , Schema ) ) ; return getDisplayFieldValue ( targetName , def , transform ) ; }
Returns field value as string formatted per target DisplayFormat attribute
Returns field value as string formatted per target DisplayFormat attribute
fieldIndex
int
targetName
string
transform
Func<object, object>