AdvancedWf.Data/Infrastructure/RepositoryBase.cs
/// <summary>
/// get data table items count based on viewModel EndString property
/// </summary>
/// <param name="endString">Page Length</param>
/// <returns>items count</returns>
get data table items count based on viewModel EndString property
get data table items count based on viewModel EndString property
public static int GetLength(string endString)
        {
            var length = 10;
            var d = !string.IsNullOrEmpty(endString) && int.TryParse(endString, out length);
            if (length <= 0)
            {
                length = 10;
            }
            return length;
        }
public static int GetLength ( string endString ) { var length = 10 ; var d = ! string . IsNullOrEmpty ( endString ) && int . TryParse ( endString , out length ) ; if ( length <= 0 ) { length = 10 ; } return length ; }
get data table items count based on viewModel EndString property
get data table items count based on viewModel EndString property
None
endString
string
None