示例#1
0
        // Constructors

        /// <summary>
        /// Initializes a new instance of this class.
        /// </summary>
        /// <param name="source">The <see cref="UnaryProvider.Source"/> property value.</param>
        /// <param name="columnName">The name of <see cref="SystemColumn"/>.</param>
        public RowNumberProvider(CompilableProvider source, string columnName)
            : base(ProviderType.RowNumber, source)
        {
            SystemColumn = new SystemColumn(columnName, Source.Header.Length, WellKnownTypes.Int64);
            Initialize();
        }
示例#2
0
        // Constructors

        /// <summary>
        /// Initializes a new instance of this class.
        /// </summary>
        /// <param name="source">The <see cref="UnaryProvider.Source"/> property value.</param>
        /// <param name="columnName">The name of <see cref="SystemColumn"/>.</param>
        public RowNumberProvider(CompilableProvider source, string columnName)
            : base(ProviderType.RowNumber, source)
        {
            SystemColumn = new SystemColumn(columnName, Source.Header.Length, typeof(long));
            Initialize();
        }