コード例 #1
0
        /// <summary>
        /// Copies member variables
        /// </summary>
        /// <param name="old"></param>
        private void CopyMembers(TableValuedFunction old)
        {
            this.ObjectType = old.ObjectType;

            this.columns    = new LazyProperty <ConcurrentDictionary <string, Column> >(LoadColumns);
            this.parameters = new LazyProperty <ConcurrentDictionary <string, Parameter> >(LoadParameters);
        }
コード例 #2
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="old"></param>
 public TableValuedFunction(TableValuedFunction old)
     : base(old)
 {
     CopyMembers(old);
 }
コード例 #3
0
        /// <summary>
        /// Copies member variables
        /// </summary>
        /// <param name="old"></param>
        private void CopyMembers(TableValuedFunction old)
        {
            this.ObjectType = old.ObjectType;

            this.isColumnsLoaded = false;
            this.columns = null;

            this.isParametersLoaded = false;
            this.parameters = null;
        }
コード例 #4
0
        /// <summary>
        /// Copies member variables
        /// </summary>
        /// <param name="old"></param>
        private void CopyMembers(TableValuedFunction old)
        {
            this.ObjectType = old.ObjectType;

            this.columns = new LazyProperty<ConcurrentDictionary<string, Column>>(LoadColumns);
            this.parameters = new LazyProperty<ConcurrentDictionary<string, Parameter>>(LoadParameters);
        }
コード例 #5
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="old"></param>
 public TableValuedFunction(TableValuedFunction old)
     : base(old)
 {
     CopyMembers(old);
 }