コード例 #1
0
        /// <summary>
        /// Add a ParameterProperty to the ParameterProperty list.
        /// </summary>
        /// <param name="property"></param>
        public void AddParameterProperty(ParameterProperty property)
        {
            // These mappings will replace any mappings that this map
            // had for any of the keys currently in the specified map.
            propertiesMap[property.PropertyName] = property;
            properties.Add(property);

            if (propertiesList.Contains(property) == false)
            {
                propertiesList.Add(property);
            }
        }
コード例 #2
0
ファイル: ParameterMap.cs プロジェクト: yhh1234/web_test
        /// <summary>
        /// Add a ParameterProperty to the ParameterProperty list.
        /// </summary>
        /// <param name="property"></param>
        public void AddParameterProperty(ParameterProperty property)
        {
            if (property.Direction == ParameterDirection.Output ||
                property.Direction == ParameterDirection.InputOutput)
            {
                HasOutputParameter = true;
            }

            // These mappings will replace any mappings that this map
            // had for any of the keys currently in the specified map.
            propertiesMap[property.PropertyName] = property;
            properties.Add(property);

            if (propertiesList.Contains(property) == false)
            {
                propertiesList.Add(property);
            }
        }