public override Rounding GetRounding(string name) { if (!IsRounding(name)) { return(null); } return(RoundingFactory.Build(ColumnsDef.Single( c => c.Name == name && c.Role == ColumnRole.Value))); }
public Rounding GetRounding(int index) { if (!IsRounding(index)) { return(null); } return(RoundingFactory.Build(ColumnsDef.Single( c => c.Index == index && c.Role == ColumnRole.Value))); }
public override Rounding GetRounding(int index) { if (!IsRounding(index)) { return(null); } return(RoundingFactory.Build(ColumnsDef.Single( c => (c.Identifier as ColumnOrdinalIdentifier)?.Ordinal == index && c.Role == ColumnRole.Value))); }