Adf.Data.SmartReferences.SmartReferenceGateway.Count C# (CSharp) Method

Count() public static method

Get the record count from SmartReference table.
The current state of the connection is closed.
public static Count ( ) : int
return int
        public static int Count()
        {
            return new AdfQuery()
                .Count()
                .From(SmartReferenceDescriber.Table)
                .RunScalar<int>(DataSource);
        }