/ [20:30] (default) の変更


以下の違いを無視:
場所:
/framework/trunk
ファイル:
54個の追加
3個の削除
25個の更新

凡例:

未変更
追加
削除
  • /framework/trunk/CoreLibrary/CoreLibrary.csproj

    r20 r30  
    4646      <DependentUpon>Resources.resx</DependentUpon> 
    4747    </Compile> 
     48    <Compile Include="Sources\Bean\BeanBase.cs" /> 
     49    <Compile Include="Sources\Bean\MarkedBean.cs" /> 
     50    <Compile Include="Sources\Bean\MarkedBeanList.cs" /> 
     51    <Compile Include="Sources\Collection\CollectionUtility.cs" /> 
    4852    <Compile Include="Sources\Collection\GenericWrapperEnumerator.cs" /> 
    49     <Compile Include="Sources\Collection\LinkedDictionary.cs" /> 
     53    <Compile Include="Sources\Collection\OrderedDictionary.cs" /> 
    5054    <Compile Include="Sources\Collection\ReadOnlyDictionary.cs" /> 
     55    <Compile Include="Sources\ComponentModel\Int64ExtendedConverter.cs" /> 
     56    <Compile Include="Sources\ComponentModel\TypeExtendedDescriptor.cs" /> 
     57    <Compile Include="Sources\ComponentModel\ByteExtendedConverter.cs" /> 
     58    <Compile Include="Sources\ComponentModel\DoubleExtendedConverter.cs" /> 
     59    <Compile Include="Sources\ComponentModel\Int16ExtendedConverter.cs" /> 
     60    <Compile Include="Sources\ComponentModel\Int32ExtendedConverter.cs" /> 
     61    <Compile Include="Sources\ComponentModel\SByteExtendedConverter.cs" /> 
     62    <Compile Include="Sources\ComponentModel\SingleExtendedConverter.cs" /> 
     63    <Compile Include="Sources\ComponentModel\UInt16ExtendedConverter.cs" /> 
     64    <Compile Include="Sources\ComponentModel\UInt32ExtendedConverter.cs" /> 
     65    <Compile Include="Sources\ComponentModel\UInt64ExtendedConverter.cs" /> 
     66    <Compile Include="Sources\ComponentModel\NullableExtendedConverter.cs" /> 
    5167    <Compile Include="Sources\Configuration\AnonymouseParameterConfigurationElement.cs" /> 
    5268    <Compile Include="Sources\Configuration\ConfigurationLoader.cs" /> 
     
    84100    <Compile Include="Sources\Data\DataManager.cs" /> 
    85101    <Compile Include="Sources\Data\DataReaderWrapper.cs" /> 
     102    <Compile Include="Sources\Data\DbDataBean.cs" /> 
     103    <Compile Include="Sources\Data\DbFieldAttribute.cs" /> 
     104    <Compile Include="Sources\Data\DbTableInfo.cs" /> 
     105    <Compile Include="Sources\Data\DbTableAttribute.cs" /> 
     106    <Compile Include="Sources\Data\DbFieldInfo.cs" /> 
     107    <Compile Include="Sources\Data\DbTableManager.cs" /> 
     108    <Compile Include="Sources\Data\DbTableInfoManager.cs" /> 
     109    <Compile Include="Sources\Data\SqlStatementOption.cs" /> 
     110    <Compile Include="Sources\Data\UnknownDataException.cs" /> 
     111    <Compile Include="Sources\Data\SqlTemplateResource.cs" /> 
     112    <Compile Include="Sources\Data\DbSchemaAttribute.cs" /> 
     113    <Compile Include="Sources\Data\MultipleRowsException.cs" /> 
     114    <Compile Include="Sources\Data\MultipleResultException.cs" /> 
     115    <Compile Include="Sources\Data\MissingDataException.cs" /> 
     116    <Compile Include="Sources\Data\UnexpectedAffectedRowsException.cs" /> 
     117    <Compile Include="Sources\DbValue.cs" /> 
     118    <Compile Include="Sources\ComponentModel\DbValueConverter.cs" /> 
    86119    <Compile Include="Sources\Data\ICommonDbDataAdapter.cs" /> 
    87120    <Compile Include="Sources\Data\ICommonDbParameter.cs" /> 
     
    96129    <Compile Include="Sources\Data\ISqlTemplateCreator.cs" /> 
    97130    <Compile Include="Sources\Data\NotifySqlTemplateChangedEventArgs.cs" /> 
    98     <Compile Include="Sources\Data\SqlBuildOption.cs" /> 
    99131    <Compile Include="Sources\Data\SqlStatementBuilder.cs" /> 
    100132    <Compile Include="Sources\Data\SqlStatement.cs" /> 
     
    146178    <Compile Include="Sources\IO\IOUtility.cs" /> 
    147179    <Compile Include="Sources\IO\TextFilePosition.cs" /> 
     180    <Compile Include="Sources\Naming.cs" /> 
     181    <Compile Include="Sources\Reflection\FieldValueAccessor.cs" /> 
     182    <Compile Include="Sources\Reflection\MemberValueAccessor.cs" /> 
    148183    <Compile Include="Sources\Reflection\InstanceCreator.cs" /> 
     184    <Compile Include="Sources\Reflection\MemberFinder.cs" /> 
     185    <Compile Include="Sources\Reflection\PropertyValueAccessor.cs" /> 
     186    <Compile Include="Sources\Reflection\TypeFinder.cs" /> 
    149187    <Compile Include="Sources\SilverFrostException.cs" /> 
    150188    <Compile Include="Sources\IO\BasicFileStateMonitor.cs" /> 
     
    175213    </EmbeddedResource> 
    176214  </ItemGroup> 
     215  <ItemGroup> 
     216    <EmbeddedResource Include="Resources\Data\DbTableManager.st" /> 
     217  </ItemGroup> 
    177218  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 
    178219  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  
  • /framework/trunk/CoreLibrary/Properties/AssemblyInfo.cs

    r20 r30  
    4343//[assembly: InternalsVisibleTo("FCSoft.SilverFrost.Framework.???")] 
    4444 
     45[module: SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "FCSoft.SilverFrost.Framework.Bean")] 
    4546[module: SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "FCSoft.SilverFrost.Framework.Collection")] 
    46 [module: SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "FCSoft.SilverFrost.Framework.Configuration")] 
    4747[module: SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "FCSoft.SilverFrost.Framework.Diagnostics")] 
    48 [module: SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "FCSoft.SilverFrost.Framework.Reflection")] 
  • /framework/trunk/CoreLibrary/Properties/Resources.Designer.cs

    r20 r30  
    125125         
    126126        /// <summary> 
     127        ///   DbFieldAttribute not found in &apos;{0}&apos;. に類似しているローカライズされた文字列を検索します。 
     128        /// </summary> 
     129        internal static string Argument_DbFieldInfo_DbFieldAttributeNotFound { 
     130            get { 
     131                return ResourceManager.GetString("Argument_DbFieldInfo_DbFieldAttributeNotFound", resourceCulture); 
     132            } 
     133        } 
     134         
     135        /// <summary> 
     136        ///   Field with DbFieldAttribute not found in &apos;{0}&apos;. に類似しているローカライズされた文字列を検索します。 
     137        /// </summary> 
     138        internal static string Argument_DbTableInfo_DbFieldAttributeNotFound { 
     139            get { 
     140                return ResourceManager.GetString("Argument_DbTableInfo_DbFieldAttributeNotFound", resourceCulture); 
     141            } 
     142        } 
     143         
     144        /// <summary> 
     145        ///   Identity field cannot be applied multiple times to &apos;{0}&apos;. に類似しているローカライズされた文字列を検索します。 
     146        /// </summary> 
     147        internal static string Argument_DbTableInfo_DbFieldIdentityMulti { 
     148            get { 
     149                return ResourceManager.GetString("Argument_DbTableInfo_DbFieldIdentityMulti", resourceCulture); 
     150            } 
     151        } 
     152         
     153        /// <summary> 
     154        ///   DbSchemaAttribute must have string type. に類似しているローカライズされた文字列を検索します。 
     155        /// </summary> 
     156        internal static string Argument_DbTableInfo_DbSchemaAttributeInvalidType { 
     157            get { 
     158                return ResourceManager.GetString("Argument_DbTableInfo_DbSchemaAttributeInvalidType", resourceCulture); 
     159            } 
     160        } 
     161         
     162        /// <summary> 
     163        ///   DbTableAttribute not found in &apos;{0}&apos;. に類似しているローカライズされた文字列を検索します。 
     164        /// </summary> 
     165        internal static string Argument_DbTableInfo_DbTableAttributeNotFound { 
     166            get { 
     167                return ResourceManager.GetString("Argument_DbTableInfo_DbTableAttributeNotFound", resourceCulture); 
     168            } 
     169        } 
     170         
     171        /// <summary> 
     172        ///   Table has identity field, but SequenceName not defined in &apos;{0}&apos;. に類似しているローカライズされた文字列を検索します。 
     173        /// </summary> 
     174        internal static string Argument_DbTableInfo_SequenceNameNotDefined { 
     175            get { 
     176                return ResourceManager.GetString("Argument_DbTableInfo_SequenceNameNotDefined", resourceCulture); 
     177            } 
     178        } 
     179         
     180        /// <summary> 
     181        ///   DbSchemaAttribute must have only one member. に類似しているローカライズされた文字列を検索します。 
     182        /// </summary> 
     183        internal static string Argument_DbTableInfo_TooManyDbSchemaAttribute { 
     184            get { 
     185                return ResourceManager.GetString("Argument_DbTableInfo_TooManyDbSchemaAttribute", resourceCulture); 
     186            } 
     187        } 
     188         
     189        /// <summary> 
     190        ///   Value set to DEFAULT at property &apos;{1}&apos;, which is primary key in bean &apos;{0}&apos;. Must set value or DB NULL. に類似しているローカライズされた文字列を検索します。 
     191        /// </summary> 
     192        internal static string Argument_DbTableManager_DbPrimaryFieldIsDefault { 
     193            get { 
     194                return ResourceManager.GetString("Argument_DbTableManager_DbPrimaryFieldIsDefault", resourceCulture); 
     195            } 
     196        } 
     197         
     198        /// <summary> 
     199        ///   Value set at property &apos;{1}&apos;, which is primary key in bean &apos;{0}&apos;. に類似しているローカライズされた文字列を検索します。 
     200        /// </summary> 
     201        internal static string Argument_DbTableManager_DbPrimaryFieldIsNotEffective { 
     202            get { 
     203                return ResourceManager.GetString("Argument_DbTableManager_DbPrimaryFieldIsNotEffective", resourceCulture); 
     204            } 
     205        } 
     206         
     207        /// <summary> 
     208        ///   The specified type is not a DbValue type. に類似しているローカライズされた文字列を検索します。 
     209        /// </summary> 
     210        internal static string Argument_DbValueConverter_InvalidDbValueType { 
     211            get { 
     212                return ResourceManager.GetString("Argument_DbValueConverter_InvalidDbValueType", resourceCulture); 
     213            } 
     214        } 
     215         
     216        /// <summary> 
    127217        ///   Array may not be empty. に類似しているローカライズされた文字列を検索します。 
    128218        /// </summary> 
     
    188278         
    189279        /// <summary> 
     280        ///   MonitoredFileState cannot set Register or Unregister. に類似しているローカライズされた文字列を検索します。 
     281        /// </summary> 
     282        internal static string Argument_FileStateMonitor_InvalidMonitoredFileState { 
     283            get { 
     284                return ResourceManager.GetString("Argument_FileStateMonitor_InvalidMonitoredFileState", resourceCulture); 
     285            } 
     286        } 
     287         
     288        /// <summary> 
    190289        ///   Registered callback not found. に類似しているローカライズされた文字列を検索します。 
    191290        /// </summary> 
     
    242341         
    243342        /// <summary> 
     343        ///   Invalid key and value pair. に類似しているローカライズされた文字列を検索します。 
     344        /// </summary> 
     345        internal static string Argument_InvalidKeyValuePair { 
     346            get { 
     347                return ResourceManager.GetString("Argument_InvalidKeyValuePair", resourceCulture); 
     348            } 
     349        } 
     350         
     351        /// <summary> 
     352        ///   Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. に類似しているローカライズされた文字列を検索します。 
     353        /// </summary> 
     354        internal static string Argument_InvalidOffLen { 
     355            get { 
     356                return ResourceManager.GetString("Argument_InvalidOffLen", resourceCulture); 
     357            } 
     358        } 
     359         
     360        /// <summary> 
     361        ///   MemberInfo of &apos;{0}&apos; is only Property of Field. に類似しているローカライズされた文字列を検索します。 
     362        /// </summary> 
     363        internal static string Argument_MemberValueAccessor_InvalidMemberInfoType { 
     364            get { 
     365                return ResourceManager.GetString("Argument_MemberValueAccessor_InvalidMemberInfoType", resourceCulture); 
     366            } 
     367        } 
     368         
     369        /// <summary> 
     370        ///   The lower bound of target array must be zero. に類似しているローカライズされた文字列を検索します。 
     371        /// </summary> 
     372        internal static string Argument_NonZeroLowerBound { 
     373            get { 
     374                return ResourceManager.GetString("Argument_NonZeroLowerBound", resourceCulture); 
     375            } 
     376        } 
     377         
     378        /// <summary> 
     379        ///   Key parameter value is not match key in the element. に類似しているローカライズされた文字列を検索します。 
     380        /// </summary> 
     381        internal static string Argument_NotMatchKeyAndElementKey { 
     382            get { 
     383                return ResourceManager.GetString("Argument_NotMatchKeyAndElementKey", resourceCulture); 
     384            } 
     385        } 
     386         
     387        /// <summary> 
     388        ///   Array contains null value. に類似しているローカライズされた文字列を検索します。 
     389        /// </summary> 
     390        internal static string Argument_NullInArray { 
     391            get { 
     392                return ResourceManager.GetString("Argument_NullInArray", resourceCulture); 
     393            } 
     394        } 
     395         
     396        /// <summary> 
     397        ///   Only single dimensional arrays are supported for the requested action. に類似しているローカライズされた文字列を検索します。 
     398        /// </summary> 
     399        internal static string Argument_RankMultiDimNotSupported { 
     400            get { 
     401                return ResourceManager.GetString("Argument_RankMultiDimNotSupported", resourceCulture); 
     402            } 
     403        } 
     404         
     405        /// <summary> 
    244406        ///   Invalid char contains in sql statement block key &apos;{0}&apos;. に類似しているローカライズされた文字列を検索します。 
    245407        /// </summary> 
    246         internal static string Argument_InvalidCharInSqlStatementBlockKey { 
    247             get { 
    248                 return ResourceManager.GetString("Argument_InvalidCharInSqlStatementBlockKey", resourceCulture); 
    249             } 
    250         } 
    251          
    252         /// <summary> 
    253         ///   Invalid key and value pair. に類似しているローカライズされた文字列を検索します。 
    254         /// </summary> 
    255         internal static string Argument_InvalidKeyValuePair { 
    256             get { 
    257                 return ResourceManager.GetString("Argument_InvalidKeyValuePair", resourceCulture); 
    258             } 
    259         } 
    260          
    261         /// <summary> 
    262         ///   MonitoredFileState cannot set Register or Unregister. に類似しているローカライズされた文字列を検索します。 
    263         /// </summary> 
    264         internal static string Argument_InvalidMonitoredFileState { 
    265             get { 
    266                 return ResourceManager.GetString("Argument_InvalidMonitoredFileState", resourceCulture); 
    267             } 
    268         } 
    269          
    270         /// <summary> 
    271         ///   Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. に類似しているローカライズされた文字列を検索します。 
    272         /// </summary> 
    273         internal static string Argument_InvalidOffLen { 
    274             get { 
    275                 return ResourceManager.GetString("Argument_InvalidOffLen", resourceCulture); 
    276             } 
    277         } 
    278          
    279         /// <summary> 
    280         ///   The lower bound of target array must be zero. に類似しているローカライズされた文字列を検索します。 
    281         /// </summary> 
    282         internal static string Argument_NonZeroLowerBound { 
    283             get { 
    284                 return ResourceManager.GetString("Argument_NonZeroLowerBound", resourceCulture); 
    285             } 
    286         } 
    287          
    288         /// <summary> 
    289         ///   Key parameter value is not match key in the element. に類似しているローカライズされた文字列を検索します。 
    290         /// </summary> 
    291         internal static string Argument_NotMatchKeyAndElementKey { 
    292             get { 
    293                 return ResourceManager.GetString("Argument_NotMatchKeyAndElementKey", resourceCulture); 
    294             } 
    295         } 
    296          
    297         /// <summary> 
    298         ///   Array contains null value. に類似しているローカライズされた文字列を検索します。 
    299         /// </summary> 
    300         internal static string Argument_NullInArray { 
    301             get { 
    302                 return ResourceManager.GetString("Argument_NullInArray", resourceCulture); 
    303             } 
    304         } 
    305          
    306         /// <summary> 
    307         ///   Only single dimensional arrays are supported for the requested action. に類似しているローカライズされた文字列を検索します。 
    308         /// </summary> 
    309         internal static string Argument_RankMultiDimNotSupported { 
    310             get { 
    311                 return ResourceManager.GetString("Argument_RankMultiDimNotSupported", resourceCulture); 
     408        internal static string Argument_SqlStatementBlockIdentity_InvalidCharInSqlStatementBlockKey { 
     409            get { 
     410                return ResourceManager.GetString("Argument_SqlStatementBlockIdentity_InvalidCharInSqlStatementBlockKey", resourceCulture); 
     411            } 
     412        } 
     413         
     414        /// <summary> 
     415        ///   Invalid resource path &apos;{0}&apos; (invalid assembly name). に類似しているローカライズされた文字列を検索します。 
     416        /// </summary> 
     417        internal static string Argument_SqlTemplateResource_InvalidAssemblyName { 
     418            get { 
     419                return ResourceManager.GetString("Argument_SqlTemplateResource_InvalidAssemblyName", resourceCulture); 
     420            } 
     421        } 
     422         
     423        /// <summary> 
     424        ///   Invalid resource path &apos;{0}&apos; (invalid resource name). に類似しているローカライズされた文字列を検索します。 
     425        /// </summary> 
     426        internal static string Argument_SqlTemplateResource_InvalidResourceName { 
     427            get { 
     428                return ResourceManager.GetString("Argument_SqlTemplateResource_InvalidResourceName", resourceCulture); 
     429            } 
     430        } 
     431         
     432        /// <summary> 
     433        ///   Invalid resource path &apos;{0}&apos; (no protocol). に類似しているローカライズされた文字列を検索します。 
     434        /// </summary> 
     435        internal static string Argument_SqlTemplateResource_NoProtocol { 
     436            get { 
     437                return ResourceManager.GetString("Argument_SqlTemplateResource_NoProtocol", resourceCulture); 
     438            } 
     439        } 
     440         
     441        /// <summary> 
     442        ///   Invalid resource path &apos;{0}&apos; (no separator). に類似しているローカライズされた文字列を検索します。 
     443        /// </summary> 
     444        internal static string Argument_SqlTemplateResource_NoSeparator { 
     445            get { 
     446                return ResourceManager.GetString("Argument_SqlTemplateResource_NoSeparator", resourceCulture); 
     447            } 
     448        } 
     449         
     450        /// <summary> 
     451        ///   The value &quot;{0}&quot; is not of type &quot;{1}&quot; and cannot be used in this generic collection. に類似しているローカライズされた文字列を検索します。 
     452        /// </summary> 
     453        internal static string Argument_WrongType { 
     454            get { 
     455                return ResourceManager.GetString("Argument_WrongType", resourceCulture); 
    312456            } 
    313457        } 
     
    598742            get { 
    599743                return ResourceManager.GetString("InvalidOperation_CommonDbConnection_NoDefaultTemplate", resourceCulture); 
     744            } 
     745        } 
     746         
     747        /// <summary> 
     748        ///   CanDelete at &apos;{0}&apos; is false. に類似しているローカライズされた文字列を検索します。 
     749        /// </summary> 
     750        internal static string InvalidOperation_DbTableManager_CanNotDelete { 
     751            get { 
     752                return ResourceManager.GetString("InvalidOperation_DbTableManager_CanNotDelete", resourceCulture); 
     753            } 
     754        } 
     755         
     756        /// <summary> 
     757        ///   CanInsert at &apos;{0}&apos; is false. に類似しているローカライズされた文字列を検索します。 
     758        /// </summary> 
     759        internal static string InvalidOperation_DbTableManager_CanNotInsert { 
     760            get { 
     761                return ResourceManager.GetString("InvalidOperation_DbTableManager_CanNotInsert", resourceCulture); 
     762            } 
     763        } 
     764         
     765        /// <summary> 
     766        ///   CanSelect at &apos;{0}&apos; is false. に類似しているローカライズされた文字列を検索します。 
     767        /// </summary> 
     768        internal static string InvalidOperation_DbTableManager_CanNotSelect { 
     769            get { 
     770                return ResourceManager.GetString("InvalidOperation_DbTableManager_CanNotSelect", resourceCulture); 
     771            } 
     772        } 
     773         
     774        /// <summary> 
     775        ///   CanUpdate at &apos;{0}&apos; is false. に類似しているローカライズされた文字列を検索します。 
     776        /// </summary> 
     777        internal static string InvalidOperation_DbTableManager_CanNotUpdate { 
     778            get { 
     779                return ResourceManager.GetString("InvalidOperation_DbTableManager_CanNotUpdate", resourceCulture); 
     780            } 
     781        } 
     782         
     783        /// <summary> 
     784        ///   DbValue object is DbDefault. に類似しているローカライズされた文字列を検索します。 
     785        /// </summary> 
     786        internal static string InvalidOperation_DbValue_DbDefault { 
     787            get { 
     788                return ResourceManager.GetString("InvalidOperation_DbValue_DbDefault", resourceCulture); 
     789            } 
     790        } 
     791         
     792        /// <summary> 
     793        ///   DbValue object must have a value. に類似しているローカライズされた文字列を検索します。 
     794        /// </summary> 
     795        internal static string InvalidOperation_DbValue_NoValue { 
     796            get { 
     797                return ResourceManager.GetString("InvalidOperation_DbValue_NoValue", resourceCulture); 
    600798            } 
    601799        } 
     
    9651163         
    9661164        /// <summary> 
     1165        ///   Data not found. 
     1166        ///Hint: {0} に類似しているローカライズされた文字列を検索します。 
     1167        /// </summary> 
     1168        internal static string MissingDataException_Hint { 
     1169            get { 
     1170                return ResourceManager.GetString("MissingDataException_Hint", resourceCulture); 
     1171            } 
     1172        } 
     1173         
     1174        /// <summary> 
    9671175        ///   ${{crlf}}    {0}:[{1:X8}] + {2}: に類似しているローカライズされた文字列を検索します。 
    9681176        /// </summary> 
     
    10011209         
    10021210        /// <summary> 
     1211        ///   Query contains multiple result. に類似しているローカライズされた文字列を検索します。 
     1212        /// </summary> 
     1213        internal static string MultipleResultException_Default { 
     1214            get { 
     1215                return ResourceManager.GetString("MultipleResultException_Default", resourceCulture); 
     1216            } 
     1217        } 
     1218         
     1219        /// <summary> 
     1220        ///   Result contains multiple row. に類似しているローカライズされた文字列を検索します。 
     1221        /// </summary> 
     1222        internal static string MultipleRowsException_Default { 
     1223            get { 
     1224                return ResourceManager.GetString("MultipleRowsException_Default", resourceCulture); 
     1225            } 
     1226        } 
     1227         
     1228        /// <summary> 
    10031229        ///   ChangeDatabase is not supported. に類似しているローカライズされた文字列を検索します。 
    10041230        /// </summary> 
     
    10911317         
    10921318        /// <summary> 
     1319        ///   Invalid field state. に類似しているローカライズされた文字列を検索します。 
     1320        /// </summary> 
     1321        internal static string SilverFrost_DbTableManager_FieldState { 
     1322            get { 
     1323                return ResourceManager.GetString("SilverFrost_DbTableManager_FieldState", resourceCulture); 
     1324            } 
     1325        } 
     1326         
     1327        /// <summary> 
    10931328        ///   Internal error in the runtime. に類似しているローカライズされた文字列を検索します。 
    10941329        /// </summary> 
     
    11051340            get { 
    11061341                return ResourceManager.GetString("SilverFrost_SqlTemplate_IncludeResolveIsNull", resourceCulture); 
     1342            } 
     1343        } 
     1344         
     1345        /// <summary> 
     1346        ///   Expected affected rows is &apos;{0}&apos;, but actual affected rows is &apos;{1}&apos;. に類似しているローカライズされた文字列を検索します。 
     1347        /// </summary> 
     1348        internal static string UnexpectedAffectedRowsException_Message { 
     1349            get { 
     1350                return ResourceManager.GetString("UnexpectedAffectedRowsException_Message", resourceCulture); 
     1351            } 
     1352        } 
     1353         
     1354        /// <summary> 
     1355        ///   Unknown data found. 
     1356        ///Hint: {0} に類似しているローカライズされた文字列を検索します。 
     1357        /// </summary> 
     1358        internal static string UnknownDataException_Hint { 
     1359            get { 
     1360                return ResourceManager.GetString("UnknownDataException_Hint", resourceCulture); 
    11071361            } 
    11081362        } 
  • /framework/trunk/CoreLibrary/Properties/Resources.resx

    r20 r30  
    169169    <value>Target array type is not compatible with the type of items in the collection.</value> 
    170170  </data> 
    171   <data name="Argument_InvalidCharInSqlStatementBlockKey" xml:space="preserve"> 
     171  <data name="Argument_SqlStatementBlockIdentity_InvalidCharInSqlStatementBlockKey" xml:space="preserve"> 
    172172    <value>Invalid char contains in sql statement block key '{0}'.</value> 
    173173  </data> 
     
    175175    <value>Invalid key and value pair.</value> 
    176176  </data> 
    177   <data name="Argument_InvalidMonitoredFileState" xml:space="preserve"> 
     177  <data name="Argument_FileStateMonitor_InvalidMonitoredFileState" xml:space="preserve"> 
    178178    <value>MonitoredFileState cannot set Register or Unregister.</value> 
    179179  </data> 
     
    473473    <value>Provider '{0}' of Connecttion '{1}' is not exists.</value> 
    474474  </data> 
     475  <data name="Argument_WrongType" xml:space="preserve"> 
     476    <value>The value "{0}" is not of type "{1}" and cannot be used in this generic collection.</value> 
     477  </data> 
     478  <data name="InvalidOperation_DbValue_DbDefault" xml:space="preserve"> 
     479    <value>DbValue object is DbDefault.</value> 
     480  </data> 
     481  <data name="InvalidOperation_DbValue_NoValue" xml:space="preserve"> 
     482    <value>DbValue object must have a value.</value> 
     483  </data> 
     484  <data name="Argument_DbValueConverter_InvalidDbValueType" xml:space="preserve"> 
     485    <value>The specified type is not a DbValue type.</value> 
     486  </data> 
     487  <data name="Argument_DbFieldInfo_DbFieldAttributeNotFound" xml:space="preserve"> 
     488    <value>DbFieldAttribute not found in '{0}'.</value> 
     489  </data> 
     490  <data name="Argument_MemberValueAccessor_InvalidMemberInfoType" xml:space="preserve"> 
     491    <value>MemberInfo of '{0}' is only Property of Field.</value> 
     492  </data> 
     493  <data name="Argument_DbTableInfo_DbFieldAttributeNotFound" xml:space="preserve"> 
     494    <value>Field with DbFieldAttribute not found in '{0}'.</value> 
     495  </data> 
     496  <data name="Argument_DbTableInfo_DbFieldIdentityMulti" xml:space="preserve"> 
     497    <value>Identity field cannot be applied multiple times to '{0}'.</value> 
     498  </data> 
     499  <data name="Argument_DbTableInfo_DbTableAttributeNotFound" xml:space="preserve"> 
     500    <value>DbTableAttribute not found in '{0}'.</value> 
     501  </data> 
     502  <data name="Argument_DbTableInfo_DbSchemaAttributeInvalidType" xml:space="preserve"> 
     503    <value>DbSchemaAttribute must have string type.</value> 
     504  </data> 
     505  <data name="Argument_DbTableInfo_TooManyDbSchemaAttribute" xml:space="preserve"> 
     506    <value>DbSchemaAttribute must have only one member.</value> 
     507  </data> 
     508  <data name="Argument_SqlTemplateResource_InvalidAssemblyName" xml:space="preserve"> 
     509    <value>Invalid resource path '{0}' (invalid assembly name).</value> 
     510  </data> 
     511  <data name="Argument_SqlTemplateResource_InvalidResourceName" xml:space="preserve"> 
     512    <value>Invalid resource path '{0}' (invalid resource name).</value> 
     513  </data> 
     514  <data name="Argument_SqlTemplateResource_NoProtocol" xml:space="preserve"> 
     515    <value>Invalid resource path '{0}' (no protocol).</value> 
     516  </data> 
     517  <data name="Argument_SqlTemplateResource_NoSeparator" xml:space="preserve"> 
     518    <value>Invalid resource path '{0}' (no separator).</value> 
     519  </data> 
     520  <data name="MissingDataException_Hint" xml:space="preserve"> 
     521    <value>Data not found. 
     522Hint: {0}</value> 
     523  </data> 
     524  <data name="MultipleResultException_Default" xml:space="preserve"> 
     525    <value>Query contains multiple result.</value> 
     526  </data> 
     527  <data name="MultipleRowsException_Default" xml:space="preserve"> 
     528    <value>Result contains multiple row.</value> 
     529  </data> 
     530  <data name="UnknownDataException_Hint" xml:space="preserve"> 
     531    <value>Unknown data found. 
     532Hint: {0}</value> 
     533  </data> 
     534  <data name="UnexpectedAffectedRowsException_Message" xml:space="preserve"> 
     535    <value>Expected affected rows is '{0}', but actual affected rows is '{1}'.</value> 
     536  </data> 
     537  <data name="Argument_DbTableInfo_SequenceNameNotDefined" xml:space="preserve"> 
     538    <value>Table has identity field, but SequenceName not defined in '{0}'.</value> 
     539  </data> 
     540  <data name="Argument_DbTableManager_DbPrimaryFieldIsDefault" xml:space="preserve"> 
     541    <value>Value set to DEFAULT at property '{1}', which is primary key in bean '{0}'. Must set value or DB NULL.</value> 
     542  </data> 
     543  <data name="Argument_DbTableManager_DbPrimaryFieldIsNotEffective" xml:space="preserve"> 
     544    <value>Value set at property '{1}', which is primary key in bean '{0}'.</value> 
     545  </data> 
     546  <data name="InvalidOperation_DbTableManager_CanNotDelete" xml:space="preserve"> 
     547    <value>CanDelete at '{0}' is false.</value> 
     548  </data> 
     549  <data name="InvalidOperation_DbTableManager_CanNotInsert" xml:space="preserve"> 
     550    <value>CanInsert at '{0}' is false.</value> 
     551  </data> 
     552  <data name="InvalidOperation_DbTableManager_CanNotSelect" xml:space="preserve"> 
     553    <value>CanSelect at '{0}' is false.</value> 
     554  </data> 
     555  <data name="InvalidOperation_DbTableManager_CanNotUpdate" xml:space="preserve"> 
     556    <value>CanUpdate at '{0}' is false.</value> 
     557  </data> 
     558  <data name="SilverFrost_DbTableManager_FieldState" xml:space="preserve"> 
     559    <value>Invalid field state.</value> 
     560  </data> 
    475561</root> 
  • /framework/trunk/CoreLibrary/Sources/Collection/ReadOnlyDictionary.cs

    r20 r30  
    3030        IDictionary<TKey, TValue>, 
    3131        ICollection<KeyValuePair<TKey, TValue>>, 
    32         IEnumerable<KeyValuePair<TKey, TValue>> 
     32        ICollection 
    3333    { 
    3434 
     
    184184            return dictionary.GetEnumerator(); 
    185185        } 
    186  
    187  
     186         
    188187 
    189188        #region IDictionary<TKey,TValue> ƒƒ“ƒo 
     
    238237 
    239238        #endregion 
    240  
    241  
     239         
    242240        #region ICollection<KeyValuePair<TKey,TValue>> ƒƒ“ƒo 
    243241 
     
    284282        } 
    285283        #endregion 
    286  
    287  
     284         
    288285        #region IEnumerable<KeyValuePair<TKey,TValue>> ƒƒ“ƒo 
    289286 
     
    294291 
    295292        #endregion 
    296  
    297  
     293         
    298294        #region IEnumerable ƒƒ“ƒo 
    299295 
     
    304300 
    305301        #endregion 
     302 
     303        #region ICollection ƒƒ“ƒo 
     304 
     305        [SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] 
     306        void ICollection.CopyTo(Array array, int index) 
     307        { 
     308            ((ICollection)dictionary).CopyTo(array, index); 
     309        } 
     310 
     311        int ICollection.Count 
     312        { 
     313            get 
     314            { 
     315                return this.Count; 
     316            } 
     317        } 
     318 
     319        [SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] 
     320        bool ICollection.IsSynchronized 
     321        { 
     322            get 
     323            { 
     324                return ((ICollection)dictionary).IsSynchronized; 
     325            } 
     326        } 
     327 
     328        [SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] 
     329        object ICollection.SyncRoot 
     330        { 
     331            get 
     332            { 
     333                return ((ICollection)dictionary).SyncRoot; 
     334            } 
     335        } 
     336 
     337        #endregion 
     338 
    306339    } 
    307340} 
  • /framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbConnection.cs

    r20 r30  
    276276        /// <see cref="SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    277277        /// </remarks> 
    278         public virtual TDataAdapter CreateAdapter(string name, SqlBuildOption option) 
     278        public virtual TDataAdapter CreateAdapter(string name, SqlStatementOption option) 
    279279        { 
    280280            if (defaultTemplate == null) 
     
    339339        /// <see cref="SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    340340        /// </remarks> 
    341         public virtual TCommand CreateCommand(string name, SqlBuildOption option) 
     341        public virtual TCommand CreateCommand(string name, SqlStatementOption option) 
    342342        { 
    343343            if (defaultTemplate == null) 
     
    507507        } 
    508508 
    509         ICommonDbDataAdapter ICommonDbConnection.CreateAdapter(string name, SqlBuildOption option) 
     509        ICommonDbDataAdapter ICommonDbConnection.CreateAdapter(string name, SqlStatementOption option) 
    510510        { 
    511511            return this.CreateAdapter(name, option); 
     
    527527        } 
    528528 
    529         ICommonDbCommand ICommonDbConnection.CreateCommand(string name, SqlBuildOption option) 
     529        ICommonDbCommand ICommonDbConnection.CreateCommand(string name, SqlStatementOption option) 
    530530        { 
    531531            return this.CreateCommand(name, option); 
  • /framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbDataAdapter.cs

    r20 r30  
    312312 
    313313        /// <summary> 
    314         /// <see cref="SelectCommand"/> ƒvƒƒpƒeƒB‚ɐݒ肳‚ê‚Ä‚¢‚é 
    315         /// ƒf[ƒ^ƒx[ƒXƒRƒ}ƒ“ƒh‚ðŽg—p‚µ‚āAˆês•¶‚ðƒr[ƒ“‚ÌŠeƒvƒƒpƒeƒB‚ɐݒ肵A 
    316         /// ‚»‚ê‚ðƒŠƒXƒg‚ÉŠi”[‚µ‚Ü‚·B 
    317         /// </summary> 
    318         /// <typeparam name="TBean">ˆês•ª‚̃f[ƒ^‚ðŠi”[‚·‚éƒr[ƒ“‚ÌŒ^B</typeparam> 
    319         /// <param name="beanList">ƒr[ƒ“‚ðs”•ªŠi”[‚·‚郊ƒXƒgB</param> 
    320         /// <returns>“ǂݍž‚ñ‚¾Œ”B</returns> 
    321         public virtual int Fill<TBean>(IList<TBean> beanList) 
    322         { 
    323             DataTable table = new DataTable(); 
    324             table.Locale = CultureInfo.InvariantCulture; 
    325             int count = Fill(table); 
    326  
    327             // FIXME BeanUtility 
    328             //BeanUtility.CopyInto<T>(table.DefaultView, beanList); 
    329             return count; 
    330         } 
    331  
    332         /// <summary> 
    333314        /// Žw’肳‚ꂽ <see cref="DataSet"/> ‚É <c>Table</c> ‚Æ‚¢‚¤–¼‘O‚Ì 
    334315        /// <see cref="DataTable"/> ‚ð’ljÁ‚µAŽw’肳‚ꂽ 
     
    609590        } 
    610591 
    611         int ICommonDbDataAdapter.Fill<T1>(IList<T1> beanList) 
    612         { 
    613             return this.Fill<T1>(beanList); 
    614         } 
    615  
    616592        int ICommonDbDataAdapter.Update(DataRow[] dataRows) 
    617593        { 
  • /framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbDebugging.cs

    r20 r30  
    6363 
    6464                // Žw’肳‚ê‚Ä‚¢‚é•ϐ”‚ðƒ_ƒ“ƒv 
    65                 foreach (SqlStatementBlock statementBlock in command.SqlStatement.SqlBuildOption) 
     65                foreach (SqlStatementBlock statementBlock in command.SqlStatement.SqlStatementOption) 
    6666                { 
    6767                    builder.Append( 
  • /framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbTransaction.cs

    r20 r30  
    179179        /// <see cref="ICommonDbConnection.SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    180180        /// </remarks> 
    181         public virtual ICommonDbDataAdapter CreateAdapter(string name, SqlBuildOption option) 
     181        public virtual ICommonDbDataAdapter CreateAdapter(string name, SqlStatementOption option) 
    182182        { 
    183183            TDataAdapter adapter = connection.CreateAdapter(name, option) as TDataAdapter; 
     
    233233        /// <see cref="ICommonDbConnection.SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    234234        /// </remarks> 
    235         public virtual TCommand CreateCommand(string name, SqlBuildOption option) 
     235        public virtual TCommand CreateCommand(string name, SqlStatementOption option) 
    236236        { 
    237237            TCommand command = connection.CreateCommand(name, option) as TCommand; 
     
    353353        } 
    354354 
    355         ICommonDbDataAdapter ICommonDbTransaction.CreateAdapter(string name, SqlBuildOption option) 
     355        ICommonDbDataAdapter ICommonDbTransaction.CreateAdapter(string name, SqlStatementOption option) 
    356356        { 
    357357            return this.CreateAdapter(name, option); 
     
    368368        } 
    369369 
    370         ICommonDbCommand ICommonDbTransaction.CreateCommand(string name, SqlBuildOption option) 
     370        ICommonDbCommand ICommonDbTransaction.CreateCommand(string name, SqlStatementOption option) 
    371371        { 
    372372            return this.CreateCommand(name, option); 
  • /framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbUtility.cs

    r20 r30  
    22using System.Data; 
    33using System.Diagnostics.CodeAnalysis; 
     4using System.Text; 
    45 
    56namespace FCSoft.SilverFrost.Framework.Data.Common 
     
    1415        where TCommand : class, ICommonDbCommand 
    1516    { 
     17 
     18        /// <summary> 
     19        /// ƒe[ƒuƒ‹–¼EƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚·‚邽‚߂̊J‚«B 
     20        /// </summary> 
     21        private const char NameEscapeOpen = '"'; 
     22 
     23        /// <summary> 
     24        /// ƒe[ƒuƒ‹–¼EƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚·‚邽‚߂̕‚¶B 
     25        /// </summary> 
     26        private const char NameEscapeClose = '"'; 
     27 
     28        /// <summary> 
     29        /// ƒXƒL[ƒ}–¼‚ƃe[ƒuƒ‹–¼‚̃ZƒpƒŒ[ƒ^B 
     30        /// </summary> 
     31        private const char SchemaTableSeparator = '.'; 
     32 
    1633 
    1734        /// <summary> 
     
    7996 
    8097        /// <summary> 
     98        /// ƒe[ƒuƒ‹–¼‚ðƒGƒXƒP[ƒv‚µ‚Ü‚·B 
     99        /// </summary> 
     100        /// <param name="tableName">ƒe[ƒuƒ‹–¼B</param> 
     101        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     102        /// <returns> 
     103        /// ƒe[ƒuƒ‹–¼‚ðƒGƒXƒP[ƒv‚µ‚½•¶Žš—ñB 
     104        /// </returns> 
     105        public virtual string EscapeTableName(string tableName, string schemaName) 
     106        { 
     107            StringBuilder builder = new StringBuilder(128); 
     108 
     109            if (schemaName != null) 
     110            { 
     111                builder.Append(NameEscapeOpen); 
     112                builder.Append(schemaName); 
     113                builder.Append(NameEscapeClose); 
     114                builder.Append(SchemaTableSeparator); 
     115            } 
     116 
     117            builder.Append(NameEscapeOpen); 
     118            builder.Append(tableName); 
     119            builder.Append(NameEscapeClose); 
     120 
     121            return builder.ToString(); 
     122        } 
     123 
     124        /// <summary> 
     125        /// ƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚µ‚Ü‚·B 
     126        /// </summary> 
     127        /// <param name="fieldName">ƒtƒB[ƒ‹ƒh–¼B</param> 
     128        /// <returns> 
     129        /// ƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚µ‚½•¶Žš—ñB 
     130        /// </returns> 
     131        public virtual string EscapeFieldName(string fieldName) 
     132        { 
     133            StringBuilder builder = new StringBuilder(64); 
     134 
     135            builder.Append(NameEscapeOpen); 
     136            builder.Append(fieldName); 
     137            builder.Append(NameEscapeClose); 
     138 
     139            return builder.ToString(); 
     140        } 
     141 
     142        /// <summary> 
     143        /// <c>INSERT</c> •¶‚ŐV‚µ‚¢Ž©“®Ì”Ô’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL ‚Ì•]‰¿Ž®‚ð•Ô‚µ‚Ü‚·B 
     144        /// </summary> 
     145        /// <param name="sequenceName">ƒV[ƒPƒ“ƒX–¼B</param> 
     146        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     147        /// <returns> 
     148        /// Ž©“®Ì”Ô’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL ‚Ì•]‰¿Ž®B 
     149        /// </returns> 
     150        public abstract string GetNextSequenceValueForInsert( 
     151            string sequenceName, 
     152            string schemaName); 
     153 
     154        /// <summary> 
     155        /// <c>INSERT</c> •¶‚Ì’¼Œã‚ŁA’¼‘O‚ÉŽ©“®Ì”Ô‚µ‚½’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ÌŽ®‚ð•Ô‚µ‚Ü‚·B 
     156        /// </summary> 
     157        /// <param name="sequenceName">ƒV[ƒPƒ“ƒX–¼B</param> 
     158        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     159        /// <returns> 
     160        /// ’¼‘O‚ÉŽ©“®Ì”Ô‚µ‚½’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ÌŽ®B 
     161        /// </returns> 
     162        public abstract string GetCurrentSequenceValueAfterInsert( 
     163            string sequenceName, 
     164            string schemaName); 
     165 
     166        /// <summary> 
    81167        /// ƒRƒ}ƒ“ƒh‚ƃRƒ}ƒ“ƒh‚̃pƒ‰ƒ[ƒ^‚Ì“à—e‚ðŒ³‚É 
    82168        /// SQL ƒXƒe[ƒgƒƒ“ƒg•¶Žš—ñ‚ðŽæ“¾‚µ‚Ü‚·B 
     
    119205        } 
    120206 
     207        string ICommonDbUtility.EscapeTableName(string tableName, string schemaName) 
     208        { 
     209            return this.EscapeTableName(tableName, schemaName); 
     210        } 
     211 
     212        string ICommonDbUtility.EscapeFieldName(string fieldName) 
     213        { 
     214            return this.EscapeFieldName(fieldName); 
     215        } 
     216 
     217        string ICommonDbUtility.GetNextSequenceValueForInsert(string sequenceName, string schemaName) 
     218        { 
     219            return this.GetNextSequenceValueForInsert(sequenceName, schemaName); 
     220        } 
     221 
     222        string ICommonDbUtility.GetCurrentSequenceValueAfterInsert(string sequenceName, string schemaName) 
     223        { 
     224            return this.GetCurrentSequenceValueAfterInsert(sequenceName, schemaName); 
     225        } 
     226 
    121227        string ICommonDbUtility.GetSqlStatement(ICommonDbCommand command) 
    122228        { 
  • /framework/trunk/CoreLibrary/Sources/Data/ICommonDbConnection.cs

    r20 r30  
    9595        /// <see cref="SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    9696        /// </remarks> 
    97         ICommonDbDataAdapter CreateAdapter(string name, SqlBuildOption option); 
     97        ICommonDbDataAdapter CreateAdapter(string name, SqlStatementOption option); 
    9898 
    9999        /// <summary> 
     
    134134        /// <see cref="SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    135135        /// </remarks> 
    136         ICommonDbCommand CreateCommand(string name, SqlBuildOption option); 
     136        ICommonDbCommand CreateCommand(string name, SqlStatementOption option); 
    137137 
    138138        /// <summary> 
  • /framework/trunk/CoreLibrary/Sources/Data/ICommonDbDataAdapter.cs

    r20 r30  
    9393 
    9494        /// <summary> 
    95         /// <see cref="SelectCommand"/> ƒvƒƒpƒeƒB‚ɐݒ肳‚ê‚Ä‚¢‚é 
    96         /// ƒf[ƒ^ƒx[ƒXƒRƒ}ƒ“ƒh‚ðŽg—p‚µ‚āAˆês•¶‚ðƒr[ƒ“‚ÌŠeƒvƒƒpƒeƒB‚ɐݒ肵A 
    97         /// ‚»‚ê‚ðƒŠƒXƒg‚ÉŠi”[‚µ‚Ü‚·B 
    98         /// </summary> 
    99         /// <typeparam name="T">ˆês•ª‚̃f[ƒ^‚ðŠi”[‚·‚éƒr[ƒ“‚ÌŒ^B</typeparam> 
    100         /// <param name="beanList">ƒr[ƒ“‚ðs”•ªŠi”[‚·‚郊ƒXƒgB</param> 
    101         /// <returns>“ǂݍž‚ñ‚¾Œ”B</returns> 
    102         int Fill<T>(IList<T> beanList); 
    103  
    104         /// <summary> 
    10595        /// Žw’肵‚½ DataRow ƒIƒuƒWƒFƒNƒg”z—ñ“à‚Ì‘}“üsAXVsA‚Ü‚½‚͍폜s‚ɑ΂µ‚āA 
    10696        /// INSERTAUPDATEA‚Ü‚½‚Í DELETE ƒXƒe[ƒgƒƒ“ƒg‚ðŒÂ•ʂɌĂяo‚µ‚Ü‚·B  
  • /framework/trunk/CoreLibrary/Sources/Data/ICommonDbTransaction.cs

    r20 r30  
    6868        /// <see cref="ICommonDbConnection.SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    6969        /// </remarks> 
    70         ICommonDbDataAdapter CreateAdapter(string name, SqlBuildOption option); 
     70        ICommonDbDataAdapter CreateAdapter(string name, SqlStatementOption option); 
    7171 
    7272        /// <summary> 
     
    100100        /// <see cref="ICommonDbConnection.SqlTemplate"/> ‚ªŽg—p‚³‚ê‚Ü‚·B 
    101101        /// </remarks> 
    102         ICommonDbCommand CreateCommand(string name, SqlBuildOption option); 
     102        ICommonDbCommand CreateCommand(string name, SqlStatementOption option); 
    103103 
    104104        /// <summary> 
  • /framework/trunk/CoreLibrary/Sources/Data/ICommonDbUtility.cs

    r20 r30  
    5252 
    5353        /// <summary> 
     54        /// ƒe[ƒuƒ‹–¼‚ðƒGƒXƒP[ƒv‚µ‚Ü‚·B 
     55        /// </summary> 
     56        /// <param name="tableName">ƒe[ƒuƒ‹–¼B</param> 
     57        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     58        /// <returns> 
     59        /// ƒe[ƒuƒ‹–¼‚ðƒGƒXƒP[ƒv‚µ‚½•¶Žš—ñB 
     60        /// </returns> 
     61        string EscapeTableName(string tableName, string schemaName); 
     62 
     63        /// <summary> 
     64        /// ƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚µ‚Ü‚·B 
     65        /// </summary> 
     66        /// <param name="fieldName">ƒtƒB[ƒ‹ƒh–¼B</param> 
     67        /// <returns> 
     68        /// ƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚µ‚½•¶Žš—ñB 
     69        /// </returns> 
     70        string EscapeFieldName(string fieldName); 
     71 
     72        /// <summary> 
     73        /// <c>INSERT</c> •¶‚ŐV‚µ‚¢Ž©“®Ì”Ô’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ÌŽ®‚ð•Ô‚µ‚Ü‚·B 
     74        /// </summary> 
     75        /// <param name="sequenceName">ƒV[ƒPƒ“ƒX–¼B</param> 
     76        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     77        /// <returns> 
     78        /// Ž©“®Ì”Ô’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ÌŽ®B 
     79        /// </returns> 
     80        string GetNextSequenceValueForInsert(string sequenceName, string schemaName); 
     81 
     82        /// <summary> 
     83        /// <c>INSERT</c> •¶‚Ì’¼Œã‚ŁA’¼‘O‚ÉŽ©“®Ì”Ô‚µ‚½’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ÌŽ®‚ð•Ô‚µ‚Ü‚·B 
     84        /// </summary> 
     85        /// <param name="sequenceName">ƒV[ƒPƒ“ƒX–¼B</param> 
     86        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     87        /// <returns> 
     88        /// ’¼‘O‚ÉŽ©“®Ì”Ô‚µ‚½’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ÌŽ®B 
     89        /// </returns> 
     90        string GetCurrentSequenceValueAfterInsert(string sequenceName, string schemaName); 
     91 
     92        /// <summary> 
    5493        /// ƒRƒ}ƒ“ƒh‚ƃRƒ}ƒ“ƒh‚̃pƒ‰ƒ[ƒ^‚Ì“à—e‚ðŒ³‚É 
    5594        /// SQL ƒXƒe[ƒgƒƒ“ƒg•¶Žš—ñ‚ðŽæ“¾‚µ‚Ü‚·B 
  • /framework/trunk/CoreLibrary/Sources/Data/Sql/SqlParameter.cs

    r20 r30  
    4141        { 
    4242            // ó‘Ô‚ðƒ`ƒFƒbƒN 
    43             Trace.Assert(value == null || (value.Length > 0 && value[0] == '@'), 
     43            Debug.Assert(value == null || (value.Length > 0 && value[0] == '@'), 
    4444                Utility.Format("Invalid ParameterName '{0}'", value)); 
    4545 
  • /framework/trunk/CoreLibrary/Sources/Data/Sql/SqlUtility.cs

    r20 r30  
    55using System.Diagnostics.CodeAnalysis; 
    66using System.Globalization; 
     7using System.Text; 
    78using System.Text.RegularExpressions; 
    89using FCSoft.SilverFrost.Framework.Data.Common; 
     
    1718        CommonDbUtility<SqlCommand> 
    1819    { 
     20 
     21        /// <summary> 
     22        /// ƒe[ƒuƒ‹–¼EƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚·‚邽‚߂̊J‚«B 
     23        /// </summary> 
     24        private const char NameEscapeOpen = '['; 
     25 
     26        /// <summary> 
     27        /// ƒe[ƒuƒ‹–¼EƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚·‚邽‚߂̕‚¶B 
     28        /// </summary> 
     29        private const char NameEscapeClose = ']'; 
     30 
     31        /// <summary> 
     32        /// ƒXƒL[ƒ}–¼‚ƃe[ƒuƒ‹–¼‚̃ZƒpƒŒ[ƒ^B 
     33        /// </summary> 
     34        private const char SchemaTableSeparator = '.'; 
     35 
     36        /// <summary> 
     37        /// V‚µ‚¢Ž©“®Ì”Ô’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL ‚Ì•]‰¿Ž®B 
     38        /// </summary> 
     39        private const string NextSequenceValueForInsert = "DEFAULT"; 
     40 
     41        /// <summary> 
     42        /// ’¼‘O‚ÉŽ©“®Ì”Ô‚µ‚½’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ÌŽ®B 
     43        /// </summary> 
     44        private const string CurrentSequenceValueAfterInsert = "SELECT SCOPE_IDENTITY();"; 
     45 
    1946 
    2047        /// <summary> 
     
    141168 
    142169        /// <summary> 
     170        /// ƒe[ƒuƒ‹–¼‚ðƒGƒXƒP[ƒv‚µ‚Ü‚·B 
     171        /// </summary> 
     172        /// <param name="tableName">ƒe[ƒuƒ‹–¼B</param> 
     173        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     174        /// <returns> 
     175        /// ƒe[ƒuƒ‹–¼‚ðƒGƒXƒP[ƒv‚µ‚½•¶Žš—ñB 
     176        /// </returns> 
     177        public override string EscapeTableName(string tableName, string schemaName) 
     178        { 
     179            StringBuilder builder = new StringBuilder(128); 
     180 
     181            if (schemaName != null) 
     182            { 
     183                builder.Append(NameEscapeOpen); 
     184                builder.Append(schemaName); 
     185                builder.Append(NameEscapeClose); 
     186                builder.Append(SchemaTableSeparator); 
     187            } 
     188 
     189            builder.Append(NameEscapeOpen); 
     190            builder.Append(tableName); 
     191            builder.Append(NameEscapeClose); 
     192 
     193            return builder.ToString(); 
     194        } 
     195 
     196        /// <summary> 
     197        /// ƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚µ‚Ü‚·B 
     198        /// </summary> 
     199        /// <param name="fieldName">ƒtƒB[ƒ‹ƒh–¼B</param> 
     200        /// <returns> 
     201        /// ƒtƒB[ƒ‹ƒh–¼‚ðƒGƒXƒP[ƒv‚µ‚½•¶Žš—ñB 
     202        /// </returns> 
     203        public override string EscapeFieldName(string fieldName) 
     204        { 
     205            StringBuilder builder = new StringBuilder(64); 
     206 
     207            builder.Append(NameEscapeOpen); 
     208            builder.Append(fieldName); 
     209            builder.Append(NameEscapeClose); 
     210 
     211            return builder.ToString(); 
     212        } 
     213 
     214        /// <summary> 
     215        /// <c>INSERT</c> •¶‚ŐV‚µ‚¢Ž©“®Ì”Ô’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL ‚Ì•]‰¿Ž®‚ð•Ô‚µ‚Ü‚·B 
     216        /// </summary> 
     217        /// <param name="sequenceName">ƒV[ƒPƒ“ƒX–¼B</param> 
     218        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     219        /// <returns> 
     220        /// Ž©“®Ì”Ô’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL ‚Ì•]‰¿Ž®B 
     221        /// </returns> 
     222        public override string GetNextSequenceValueForInsert( 
     223            string sequenceName, 
     224            string schemaName) 
     225        { 
     226            return NextSequenceValueForInsert; 
     227        } 
     228 
     229        /// <summary> 
     230        /// <c>INSERT</c> •¶‚Ì’¼Œã‚ŁA’¼‘O‚ÉŽ©“®Ì”Ô‚µ‚½’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶‚ð•Ô‚µ‚Ü‚·B 
     231        /// </summary> 
     232        /// <param name="sequenceName">ƒV[ƒPƒ“ƒX–¼B</param> 
     233        /// <param name="schemaName">ƒXƒL[ƒ}–¼B–¢Žw’è‚̏ꍇ‚Í <c>null</c> ŽQÆB</param> 
     234        /// <returns> 
     235        /// ’¼‘O‚ÉŽ©“®Ì”Ô‚µ‚½’l‚ðŽæ“¾‚·‚邽‚ß‚Ì SQL •¶B 
     236        /// </returns> 
     237        public override string GetCurrentSequenceValueAfterInsert( 
     238            string sequenceName, 
     239            string schemaName) 
     240        { 
     241            return CurrentSequenceValueAfterInsert; 
     242        } 
     243 
     244        /// <summary> 
    143245        /// ƒRƒ}ƒ“ƒh‚ƃRƒ}ƒ“ƒh‚̃pƒ‰ƒ[ƒ^‚Ì“à—e‚ðŒ³‚É 
    144246        /// SQL ƒXƒe[ƒgƒƒ“ƒg•¶Žš—ñ‚ðŽæ“¾‚µ‚Ü‚·B 
  • /framework/trunk/CoreLibrary/Sources/Data/SqlStatement.cs

    r20 r30  
    3232        /// </summary> 
    3333        [DebuggerBrowsable(DebuggerBrowsableState.Never)] 
    34         private readonly SqlBuildOption option; 
     34        private readonly SqlStatementOption option; 
    3535         
    3636        /// <summary> 
     
    5353 
    5454        /// <summary> 
    55         /// SQL ƒeƒ“ƒvƒŒ[ƒgAޝ•ÊŽq–¼ASQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“‚ðŽw’肵‚Ä 
     55        /// SQL ƒeƒ“ƒvƒŒ[ƒgAޝ•ÊŽq–¼ASQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“‚ðŽw’肵‚Ä 
    5656        /// ƒCƒ“ƒXƒ^ƒ“ƒX‚ðì¬‚µ‚Ü‚·B 
    5757        /// </summary> 
     
    6262        /// <paramref name="option"/> ‚ªŽw’肳‚ꂽê‡A 
    6363        /// ƒRƒ“ƒXƒgƒ‰ƒNƒ^‚ªŒÄ‚Î‚ê‚½Žž“_‚̃IƒvƒVƒ‡ƒ“‚̓ǂݎæ‚èê—pƒCƒ“ƒXƒ^ƒ“ƒX‚ðŽg—p‚µ‚Ü‚·B 
    64         /// ]‚Á‚āA‚±‚̃Rƒ“ƒXƒgƒ‰ƒNƒ^‚É“n‚µ‚½ SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“‚ɑ΂µ‚āA 
     64        /// ]‚Á‚āA‚±‚̃Rƒ“ƒXƒgƒ‰ƒNƒ^‚É“n‚µ‚½ SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“‚ɑ΂µ‚āA 
    6565        /// ŒÄ‚яo‚µŒ³‚ŕύX‚ðs‚Á‚Ä‚à‚±‚̃Cƒ“ƒXƒ^ƒ“ƒX‚͉e‹¿‚ðŽó‚¯‚Ü‚¹‚ñB 
    6666        /// </remarks> 
    67         public SqlStatement(SqlTemplate template, string name, SqlBuildOption option) 
     67        public SqlStatement(SqlTemplate template, string name, SqlStatementOption option) 
    6868        { 
    6969            // ˆø”‚ðƒ`ƒFƒbƒN 
     
    8686                option != null 
    8787                ? (option.IsReadOnly ? option : option.AsReadOnly()) 
    88                 : SqlBuildOption.Empty 
     88                : SqlStatementOption.Empty 
    8989            ); 
    9090        } 
     
    120120 
    121121        /// <summary> 
    122         /// SQL ‚̍\’z‚ÉŽg—p‚·‚éƒIƒvƒVƒ‡ƒ“‚ðŽæ“¾‚µ‚Ü‚·B 
     122        /// SQL ƒXƒe[ƒgƒƒ“ƒg‚̍\’z‚ÉŽg—p‚·‚éƒIƒvƒVƒ‡ƒ“‚ðŽæ“¾‚µ‚Ü‚·B 
    123123        /// </summary> 
    124124        /// <value> 
    125         /// SQL ‚̍\’z‚ÉŽg—p‚·‚é“ǂݎæ‚èê—p‚̃IƒvƒVƒ‡ƒ“B 
     125        /// SQL ƒXƒe[ƒgƒƒ“ƒg‚̍\’z‚ÉŽg—p‚·‚é“ǂݎæ‚èê—p‚̃IƒvƒVƒ‡ƒ“B 
    126126        /// </value> 
    127         public virtual SqlBuildOption SqlBuildOption 
     127        public virtual SqlStatementOption SqlStatementOption 
    128128        { 
    129129            get 
  • /framework/trunk/CoreLibrary/Sources/Data/SqlStatementBlockIdentity.cs

    r20 r30  
    9696            { 
    9797                throw new ArgumentException(Utility.Format( 
    98                     Resources.Argument_InvalidCharInSqlStatementBlockKey, 
     98                    Resources.Argument_SqlStatementBlockIdentity_InvalidCharInSqlStatementBlockKey, 
    9999                    key), "key"); 
    100100            } 
  • /framework/trunk/CoreLibrary/Sources/Data/SqlStatementBuilder.cs

    r20 r30  
    2525 
    2626        /// <summary> 
    27         /// SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“B 
     27        /// SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“B 
    2828        /// </summary> 
    2929        [DebuggerBrowsable(DebuggerBrowsableState.Never)] 
    30         private readonly SqlBuildOption buildOption; 
     30        private readonly SqlStatementOption buildOption; 
    3131 
    3232        /// <summary> 
     
    4141        /// <param name="statementBlockMap">—˜—p‚·‚é SQL ƒXƒe[ƒgƒƒ“ƒg‚̃}ƒbƒvB</param> 
    4242        /// <param name="zone">ƒ][ƒ“–¼B</param> 
    43         /// <param name="buildOption">SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“B</param> 
     43        /// <param name="buildOption">SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“B</param> 
    4444        internal SqlStatementBuilder( 
    4545            IDictionary<SqlStatementBlockIdentity, SqlStatementBlock> statementBlockMap, 
    4646            string zone, 
    47             SqlBuildOption buildOption) 
     47            SqlStatementOption buildOption) 
    4848        { 
    4949            this.statementBlockMap = statementBlockMap; 
     
    6868 
    6969        /// <summary> 
    70         /// —˜—p‚·‚é SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“‚ð•Ô‚µ‚Ü‚·B 
     70        /// —˜—p‚·‚é SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“‚ð•Ô‚µ‚Ü‚·B 
    7171        /// </summary> 
    7272        /// <value> 
    73         /// SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“B 
     73        /// SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“B 
    7474        /// </value> 
    75         public SqlBuildOption SqlBuildOption 
     75        public SqlStatementOption SqlBuildOption 
    7676        { 
    7777            get 
  • /framework/trunk/CoreLibrary/Sources/Data/SqlTemplate.cs

    r20 r30  
    448448        public virtual string GetValue(string name, string zone) 
    449449        { 
    450             return GetValue(name, zone, SqlBuildOption.Empty); 
    451         } 
    452  
    453         /// <summary> 
    454         /// Žw’肵‚½ SQL ƒeƒ“ƒvƒŒ[ƒgƒuƒƒbƒN–¼‚ƃ][ƒ“–¼‚Æ SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“‚ðŒ³‚ÉA 
     450            return GetValue(name, zone, SqlStatementOption.Empty); 
     451        } 
     452 
     453        /// <summary> 
     454        /// Žw’肵‚½ SQL ƒeƒ“ƒvƒŒ[ƒgƒuƒƒbƒN–¼‚ƃ][ƒ“–¼‚Æ SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“‚ðŒ³‚ÉA 
    455455        /// ‘Ήž‚·‚é SQL •¶‚ð\’z‚µ‚ĕԂµ‚Ü‚·B 
    456456        /// </summary> 
    457457        /// <param name="name">SQL ƒeƒ“ƒvƒŒ[ƒgƒuƒƒbƒN–¼B</param> 
    458458        /// <param name="zone">ƒ][ƒ“–¼B</param> 
    459         /// <param name="buildOption">SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“B</param> 
     459        /// <param name="buildOption">SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“B</param> 
    460460        /// <returns> 
    461461        /// \’z‚µ‚½ SQL •¶B 
    462462        /// </returns> 
    463         public virtual string GetValue(string name, string zone, SqlBuildOption buildOption) 
     463        public virtual string GetValue(string name, string zone, SqlStatementOption buildOption) 
    464464        { 
    465465            SqlTemplateBlockCollection blocks = templateBlocks; 
  • /framework/trunk/CoreLibrary/Sources/Data/SqlTemplateBlockCollection.cs

    r20 r30  
    254254 
    255255        /// <summary> 
    256         /// Žw’肵‚½ SQL ƒeƒ“ƒvƒŒ[ƒgƒuƒƒbƒN–¼‚ƃ][ƒ“–¼‚Æ SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“‚ðŒ³‚ÉA 
     256        /// Žw’肵‚½ SQL ƒeƒ“ƒvƒŒ[ƒgƒuƒƒbƒN–¼‚ƃ][ƒ“–¼‚Æ SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“‚ðŒ³‚ÉA 
    257257        /// ‘Ήž‚·‚é SQL •¶‚ð\’z‚µ‚ĕԂµ‚Ü‚·B 
    258258        /// </summary> 
    259259        /// <param name="name">SQL ƒeƒ“ƒvƒŒ[ƒgƒuƒƒbƒN–¼B</param> 
    260260        /// <param name="zone">ƒ][ƒ“–¼B</param> 
    261         /// <param name="buildOption">SQL ƒrƒ‹ƒhƒIƒvƒVƒ‡ƒ“B</param> 
     261        /// <param name="buildOption">SQL ƒXƒe[ƒgƒƒ“ƒgƒIƒvƒVƒ‡ƒ“B</param> 
    262262        /// <returns> 
    263263        /// \’z‚µ‚½ SQL •¶B 
    264264        /// </returns> 
    265         public virtual string GetValue(string name, string zone, SqlBuildOption buildOption) 
     265        public virtual string GetValue(string name, string zone, SqlStatementOption buildOption) 
    266266        { 
    267267            // ˆø”‚ðƒ`ƒFƒbƒN 
  • /framework/trunk/CoreLibrary/Sources/Data/SqlTemplateResourceCreator.cs

    r20 r30  
    1616        ISqlTemplateCreator 
    1717    { 
    18  
    19         /// <summary> 
    20         /// ƒŠƒ\[ƒX‚ðŽw‚· URI ‚̃vƒƒgƒRƒ‹–¼B 
    21         /// </summary> 
    22         private const string ResourceProtocol = "resource:"; 
    23  
    2418 
    2519        /// <summary> 
     
    8276 
    8377            // ƒŠƒ\[ƒXˆÈŠO‚Í–³Ž‹ 
    84             if (!path.StartsWith(ResourceProtocol, StringComparison.InvariantCultureIgnoreCase)) 
     78            if (!path.StartsWith( 
     79                SqlTemplateResource.ResourceProtocol, 
     80                StringComparison.InvariantCultureIgnoreCase)) 
    8581            { 
    8682                return null; 
    8783            } 
    8884 
    89             // FIXME ƒ`ƒFƒbƒN 
    9085            return path; 
    9186        } 
     
    117112            } 
    118113 
    119             // FIXME ƒŠƒ\[ƒX‚©‚烍[ƒh 
    120             return new SqlTemplateFile(path, true, true); 
     114            return new SqlTemplateResource(path, true); 
    121115        } 
    122116 
  • /framework/trunk/CoreLibrary/Sources/IO/FileStateMonitor.cs

    r20 r30  
    101101            { 
    102102                throw new ArgumentException( 
    103                     Resources.Argument_InvalidMonitoredFileState, 
     103                    Resources.Argument_FileStateMonitor_InvalidMonitoredFileState, 
    104104                    "state"); 
    105105            } 
  • /framework/trunk/CoreLibrary/Sources/Reflection/InstanceCreator.cs

    r20 r30  
    1111    public static class InstanceCreator 
    1212    { 
     13 
     14        /// <summary> 
     15        /// Žw’肵‚½Œ^–¼‚́Aˆø”–³‚µƒRƒ“ƒXƒgƒ‰ƒNƒ^‚ðŽg—p‚µA 
     16        /// ƒCƒ“ƒXƒ^ƒ“ƒX‚ðì¬‚µ‚ĕԂµ‚Ü‚·B 
     17        /// </summary> 
     18        /// <typeparam name="T">Žw’肵‚½ƒNƒ‰ƒX‚ªŽÀ‘•‚·‚ׂ«Œ^A‚Ü‚½‚̓Cƒ“ƒ^[ƒtƒF[ƒXB</typeparam> 
     19        /// <param name="typeName">ì¬‚·‚éŒ^–¼B</param> 
     20        /// <returns>ì¬‚µ‚½ƒCƒ“ƒXƒ^ƒ“ƒXB</returns> 
     21        /// <exception cref="ArgumentException"> 
     22        /// Žw’肳‚ꂽƒCƒ“ƒ^[ƒtƒF[ƒX‚âAƒRƒ“ƒXƒgƒ‰ƒNƒ^‚ªŒ©‚‚©‚ç‚È‚¢ê‡B 
     23        /// </exception> 
     24        /// <exception cref="TargetInvocationException"> 
     25        /// ƒNƒ‰ƒX‚̃[ƒhŽž‚ɃGƒ‰[‚ª”­¶‚µ‚½ê‡B 
     26        /// </exception> 
     27        [SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")] 
     28        public static T Invoke<T>(string typeName) 
     29        { 
     30            return Invoke<T>(TypeFinder.GetType(typeName), null, null); 
     31        } 
     32 
     33        /// <summary> 
     34        /// Žw’肵‚½Œ^–¼‚́Aˆø”–³‚µƒRƒ“ƒXƒgƒ‰ƒNƒ^‚ðŽg—p‚µA 
     35        /// ƒCƒ“ƒXƒ^ƒ“ƒX‚ðì¬‚µ‚ĕԂµ‚Ü‚·B 
     36        /// </summary> 
     37        /// <typeparam name="T">Žw’肵‚½ƒNƒ‰ƒX‚ªŽÀ‘•‚·‚ׂ«Œ^A‚Ü‚½‚̓Cƒ“ƒ^[ƒtƒF[ƒXB</typeparam> 
     38        /// <param name="typeName">ì¬‚·‚éŒ^–¼B</param> 
     39        /// <param name="constructorArgumentTypes">ƒRƒ“ƒXƒgƒ‰ƒNƒ^‚̈ø”‚ÌŒ^‚̈ꗗB</param> 
     40        /// <param name="constructorArguments">ƒRƒ“ƒXƒgƒ‰ƒNƒ^‚̈ø”‚̈ꗗB</param> 
     41        /// <returns>ì¬‚µ‚½ƒCƒ“ƒXƒ^ƒ“ƒXB</returns> 
     42        /// <exception cref="ArgumentException"> 
     43        /// Žw’肳‚ꂽƒCƒ“ƒ^[ƒtƒF[ƒX‚âAƒRƒ“ƒXƒgƒ‰ƒNƒ^‚ªŒ©‚‚©‚ç‚È‚¢ê‡B 
     44        /// </exception> 
     45        /// <exception cref="TargetInvocationException"> 
     46        /// ƒNƒ‰ƒX‚̃[ƒhŽž‚ɃGƒ‰[‚ª”­¶‚µ‚½ê‡B 
     47        /// </exception> 
     48        [SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")] 
     49        public static T Invoke<T>( 
     50            string typeName, 
     51            Type[] constructorArgumentTypes, 
     52            object[] constructorArguments) 
     53        { 
     54            return Invoke<T>( 
     55                TypeFinder.GetType(typeName), 
     56                constructorArgumentTypes, 
     57                constructorArguments 
     58            ); 
     59        } 
    1360 
    1461        /// <summary> 
  • /framework/trunk/SilverFrostFramework.sln

    r20 r30  
    33# Visual Studio 2005 
    44Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoreLibrary", "CoreLibrary\CoreLibrary.csproj", "{4D3775C5-0F5B-43B2-892A-05A7644DD568}" 
     5        ProjectSection(WebsiteProperties) = preProject 
     6                Debug.AspNetCompiler.Debug = "True" 
     7                Release.AspNetCompiler.Debug = "False" 
     8        EndProjectSection 
     9EndProject 
     10Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTest", "UnitTest\UnitTest.csproj", "{702680F9-02F8-470D-B585-A491EFB4192B}" 
    511        ProjectSection(WebsiteProperties) = preProject 
    612                Debug.AspNetCompiler.Debug = "True" 
     
    1824                {4D3775C5-0F5B-43B2-892A-05A7644DD568}.Release|Any CPU.ActiveCfg = Release|Any CPU 
    1925                {4D3775C5-0F5B-43B2-892A-05A7644DD568}.Release|Any CPU.Build.0 = Release|Any CPU 
     26                {702680F9-02F8-470D-B585-A491EFB4192B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 
     27                {702680F9-02F8-470D-B585-A491EFB4192B}.Debug|Any CPU.Build.0 = Debug|Any CPU 
     28                {702680F9-02F8-470D-B585-A491EFB4192B}.Release|Any CPU.ActiveCfg = Release|Any CPU 
     29                {702680F9-02F8-470D-B585-A491EFB4192B}.Release|Any CPU.Build.0 = Release|Any CPU 
    2030        EndGlobalSection 
    2131        GlobalSection(SolutionProperties) = preSolution 
詳しい使い方は TracChangeset を参照してください。