Column <TEntity>(this File2ObjectManager <TEntity, ICell> manager, Expression <Func <TEntity, long?> > action, bool isRequire = false) { var columnName = PropertyHelper.GetPropertyInfo(action).Name; return(manager.Column(columnName, action, isRequire)); }
public static File2ObjectManager <TEntity, ICell> ColumnDisplayAttribute <TEntity>( this File2ObjectManager <TEntity, ICell> manager, Expression <Func <TEntity, DateTimeOffset> > action, bool isRequire = false) { var name = PropertyHelper.GetPropertyNameFromDisplay(action); return(manager.Column(name, action, isRequire)); }
public static File2ObjectManager <TEntity, ICell> Column <TEntity>( this File2ObjectManager <TEntity, ICell> manager, Expression <Func <TEntity, DateTimeOffset?> > action, bool isRequire = false) { var name = PropertyHelper.GetPropertyInfo(action).Name; return(manager.Column(name, action, isRequire)); }
ColumnDisplayAttribute <TEntity>(this File2ObjectManager <TEntity, ICell> manager, Expression <Func <TEntity, decimal> > action, bool isRequire = false) { var columnName = PropertyHelper.GetPropertyNameFromDisplay(action); return(manager.Column(columnName, action, isRequire)); }
ColumnDisplayNameAttribute <TEntity>(this File2ObjectManager <TEntity, ICell> manager, string trueStrExpress, Expression <Func <TEntity, bool?> > action, bool isRequire = false) { var columnName = PropertyHelper.GetPropertyNameFromDisplayName(action); return(manager.Column(columnName, trueStrExpress, action, isRequire)); }