- 場所:
- /framework/trunk
- ファイル:
-
- 54個の追加
- 3個の削除
- 25個の更新
凡例:
- 未変更
- 追加
- 削除
-
/framework/trunk/CoreLibrary/CoreLibrary.csproj
r20 r30 46 46 <DependentUpon>Resources.resx</DependentUpon> 47 47 </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" /> 48 52 <Compile Include="Sources\Collection\GenericWrapperEnumerator.cs" /> 49 <Compile Include="Sources\Collection\ LinkedDictionary.cs" />53 <Compile Include="Sources\Collection\OrderedDictionary.cs" /> 50 54 <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" /> 51 67 <Compile Include="Sources\Configuration\AnonymouseParameterConfigurationElement.cs" /> 52 68 <Compile Include="Sources\Configuration\ConfigurationLoader.cs" /> … … 84 100 <Compile Include="Sources\Data\DataManager.cs" /> 85 101 <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" /> 86 119 <Compile Include="Sources\Data\ICommonDbDataAdapter.cs" /> 87 120 <Compile Include="Sources\Data\ICommonDbParameter.cs" /> … … 96 129 <Compile Include="Sources\Data\ISqlTemplateCreator.cs" /> 97 130 <Compile Include="Sources\Data\NotifySqlTemplateChangedEventArgs.cs" /> 98 <Compile Include="Sources\Data\SqlBuildOption.cs" />99 131 <Compile Include="Sources\Data\SqlStatementBuilder.cs" /> 100 132 <Compile Include="Sources\Data\SqlStatement.cs" /> … … 146 178 <Compile Include="Sources\IO\IOUtility.cs" /> 147 179 <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" /> 148 183 <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" /> 149 187 <Compile Include="Sources\SilverFrostException.cs" /> 150 188 <Compile Include="Sources\IO\BasicFileStateMonitor.cs" /> … … 175 213 </EmbeddedResource> 176 214 </ItemGroup> 215 <ItemGroup> 216 <EmbeddedResource Include="Resources\Data\DbTableManager.st" /> 217 </ItemGroup> 177 218 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 178 219 <!-- 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 43 43 //[assembly: InternalsVisibleTo("FCSoft.SilverFrost.Framework.???")] 44 44 45 [module: SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "FCSoft.SilverFrost.Framework.Bean")] 45 46 [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")]47 47 [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 125 125 126 126 /// <summary> 127 /// DbFieldAttribute not found in '{0}'. に類似しているローカライズされた文字列を検索します。 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 '{0}'. に類似しているローカライズされた文字列を検索します。 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 '{0}'. に類似しているローカライズされた文字列を検索します。 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 '{0}'. に類似しているローカライズされた文字列を検索します。 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 '{0}'. に類似しているローカライズされた文字列を検索します。 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 '{1}', which is primary key in bean '{0}'. 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 '{1}', which is primary key in bean '{0}'. に類似しているローカライズされた文字列を検索します。 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> 127 217 /// Array may not be empty. に類似しているローカライズされた文字列を検索します。 128 218 /// </summary> … … 188 278 189 279 /// <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> 190 289 /// Registered callback not found. に類似しているローカライズされた文字列を検索します。 191 290 /// </summary> … … 242 341 243 342 /// <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 '{0}' 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> 244 406 /// Invalid char contains in sql statement block key '{0}'. に類似しているローカライズされた文字列を検索します。 245 407 /// </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 '{0}' (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 '{0}' (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 '{0}' (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 '{0}' (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 "{0}" is not of type "{1}" 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); 312 456 } 313 457 } … … 598 742 get { 599 743 return ResourceManager.GetString("InvalidOperation_CommonDbConnection_NoDefaultTemplate", resourceCulture); 744 } 745 } 746 747 /// <summary> 748 /// CanDelete at '{0}' 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 '{0}' 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 '{0}' 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 '{0}' 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); 600 798 } 601 799 } … … 965 1163 966 1164 /// <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> 967 1175 /// ${{crlf}} {0}:[{1:X8}] + {2}: に類似しているローカライズされた文字列を検索します。 968 1176 /// </summary> … … 1001 1209 1002 1210 /// <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> 1003 1229 /// ChangeDatabase is not supported. に類似しているローカライズされた文字列を検索します。 1004 1230 /// </summary> … … 1091 1317 1092 1318 /// <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> 1093 1328 /// Internal error in the runtime. に類似しているローカライズされた文字列を検索します。 1094 1329 /// </summary> … … 1105 1340 get { 1106 1341 return ResourceManager.GetString("SilverFrost_SqlTemplate_IncludeResolveIsNull", resourceCulture); 1342 } 1343 } 1344 1345 /// <summary> 1346 /// Expected affected rows is '{0}', but actual affected rows is '{1}'. に類似しているローカライズされた文字列を検索します。 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); 1107 1361 } 1108 1362 } -
/framework/trunk/CoreLibrary/Properties/Resources.resx
r20 r30 169 169 <value>Target array type is not compatible with the type of items in the collection.</value> 170 170 </data> 171 <data name="Argument_ InvalidCharInSqlStatementBlockKey" xml:space="preserve">171 <data name="Argument_SqlStatementBlockIdentity_InvalidCharInSqlStatementBlockKey" xml:space="preserve"> 172 172 <value>Invalid char contains in sql statement block key '{0}'.</value> 173 173 </data> … … 175 175 <value>Invalid key and value pair.</value> 176 176 </data> 177 <data name="Argument_ InvalidMonitoredFileState" xml:space="preserve">177 <data name="Argument_FileStateMonitor_InvalidMonitoredFileState" xml:space="preserve"> 178 178 <value>MonitoredFileState cannot set Register or Unregister.</value> 179 179 </data> … … 473 473 <value>Provider '{0}' of Connecttion '{1}' is not exists.</value> 474 474 </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. 522 Hint: {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. 532 Hint: {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> 475 561 </root> -
/framework/trunk/CoreLibrary/Sources/Collection/ReadOnlyDictionary.cs
r20 r30 30 30 IDictionary<TKey, TValue>, 31 31 ICollection<KeyValuePair<TKey, TValue>>, 32 I Enumerable<KeyValuePair<TKey, TValue>>32 ICollection 33 33 { 34 34 … … 184 184 return dictionary.GetEnumerator(); 185 185 } 186 187 186 188 187 189 188 #region IDictionary<TKey,TValue> o … … 238 237 239 238 #endregion 240 241 239 242 240 #region ICollection<KeyValuePair<TKey,TValue>> o 243 241 … … 284 282 } 285 283 #endregion 286 287 284 288 285 #region IEnumerable<KeyValuePair<TKey,TValue>> o 289 286 … … 294 291 295 292 #endregion 296 297 293 298 294 #region IEnumerable o 299 295 … … 304 300 305 301 #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 306 339 } 307 340 } -
/framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbConnection.cs
r20 r30 276 276 /// <see cref="SqlTemplate"/> ªgp³êÜ·B 277 277 /// </remarks> 278 public virtual TDataAdapter CreateAdapter(string name, Sql BuildOption option)278 public virtual TDataAdapter CreateAdapter(string name, SqlStatementOption option) 279 279 { 280 280 if (defaultTemplate == null) … … 339 339 /// <see cref="SqlTemplate"/> ªgp³êÜ·B 340 340 /// </remarks> 341 public virtual TCommand CreateCommand(string name, Sql BuildOption option)341 public virtual TCommand CreateCommand(string name, SqlStatementOption option) 342 342 { 343 343 if (defaultTemplate == null) … … 507 507 } 508 508 509 ICommonDbDataAdapter ICommonDbConnection.CreateAdapter(string name, Sql BuildOption option)509 ICommonDbDataAdapter ICommonDbConnection.CreateAdapter(string name, SqlStatementOption option) 510 510 { 511 511 return this.CreateAdapter(name, option); … … 527 527 } 528 528 529 ICommonDbCommand ICommonDbConnection.CreateCommand(string name, Sql BuildOption option)529 ICommonDbCommand ICommonDbConnection.CreateCommand(string name, SqlStatementOption option) 530 530 { 531 531 return this.CreateCommand(name, option); -
/framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbDataAdapter.cs
r20 r30 312 312 313 313 /// <summary> 314 /// <see cref="SelectCommand"/> vpeBÉÝè³êÄ¢é315 /// f[^x[XR}hðgpµÄAês¶ðr[ÌevpeBÉÝèµA316 /// »êðXgÉi[µÜ·B317 /// </summary>318 /// <typeparam name="TBean">êsªÌf[^ði[·ér[Ì^B</typeparam>319 /// <param name="beanList">r[ðsªi[·éXgB</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 BeanUtility328 //BeanUtility.CopyInto<T>(table.DefaultView, beanList);329 return count;330 }331 332 /// <summary>333 314 /// wè³ê½ <see cref="DataSet"/> É <c>Table</c> Æ¢¤¼OÌ 334 315 /// <see cref="DataTable"/> ðÇÁµAwè³ê½ … … 609 590 } 610 591 611 int ICommonDbDataAdapter.Fill<T1>(IList<T1> beanList)612 {613 return this.Fill<T1>(beanList);614 }615 616 592 int ICommonDbDataAdapter.Update(DataRow[] dataRows) 617 593 { -
/framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbDebugging.cs
r20 r30 63 63 64 64 // wè³êÄ¢éÏð_v 65 foreach (SqlStatementBlock statementBlock in command.SqlStatement.Sql BuildOption)65 foreach (SqlStatementBlock statementBlock in command.SqlStatement.SqlStatementOption) 66 66 { 67 67 builder.Append( -
/framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbTransaction.cs
r20 r30 179 179 /// <see cref="ICommonDbConnection.SqlTemplate"/> ªgp³êÜ·B 180 180 /// </remarks> 181 public virtual ICommonDbDataAdapter CreateAdapter(string name, Sql BuildOption option)181 public virtual ICommonDbDataAdapter CreateAdapter(string name, SqlStatementOption option) 182 182 { 183 183 TDataAdapter adapter = connection.CreateAdapter(name, option) as TDataAdapter; … … 233 233 /// <see cref="ICommonDbConnection.SqlTemplate"/> ªgp³êÜ·B 234 234 /// </remarks> 235 public virtual TCommand CreateCommand(string name, Sql BuildOption option)235 public virtual TCommand CreateCommand(string name, SqlStatementOption option) 236 236 { 237 237 TCommand command = connection.CreateCommand(name, option) as TCommand; … … 353 353 } 354 354 355 ICommonDbDataAdapter ICommonDbTransaction.CreateAdapter(string name, Sql BuildOption option)355 ICommonDbDataAdapter ICommonDbTransaction.CreateAdapter(string name, SqlStatementOption option) 356 356 { 357 357 return this.CreateAdapter(name, option); … … 368 368 } 369 369 370 ICommonDbCommand ICommonDbTransaction.CreateCommand(string name, Sql BuildOption option)370 ICommonDbCommand ICommonDbTransaction.CreateCommand(string name, SqlStatementOption option) 371 371 { 372 372 return this.CreateCommand(name, option); -
/framework/trunk/CoreLibrary/Sources/Data/Common/CommonDbUtility.cs
r20 r30 2 2 using System.Data; 3 3 using System.Diagnostics.CodeAnalysis; 4 using System.Text; 4 5 5 6 namespace FCSoft.SilverFrost.Framework.Data.Common … … 14 15 where TCommand : class, ICommonDbCommand 15 16 { 17 18 /// <summary> 19 /// e[u¼EtB[h¼ðGXP[v·é½ßÌJ«B 20 /// </summary> 21 private const char NameEscapeOpen = '"'; 22 23 /// <summary> 24 /// e[u¼EtB[h¼ðGXP[v·é½ß̶B 25 /// </summary> 26 private const char NameEscapeClose = '"'; 27 28 /// <summary> 29 /// XL[}¼Æe[u¼ÌZp[^B 30 /// </summary> 31 private const char SchemaTableSeparator = '.'; 32 16 33 17 34 /// <summary> … … 79 96 80 97 /// <summary> 98 /// e[u¼ðGXP[vµÜ·B 99 /// </summary> 100 /// <param name="tableName">e[u¼B</param> 101 /// <param name="schemaName">XL[}¼B¢wèÌêÍ <c>null</c> QÆB</param> 102 /// <returns> 103 /// e[u¼ðGXP[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 /// tB[h¼ðGXP[vµÜ·B 126 /// </summary> 127 /// <param name="fieldName">tB[h¼B</param> 128 /// <returns> 129 /// tB[h¼ðGXP[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[PX¼B</param> 146 /// <param name="schemaName">XL[}¼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[PX¼B</param> 158 /// <param name="schemaName">XL[}¼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> 81 167 /// R}hÆR}hÌp[^Ìàeð³É 82 168 /// SQL Xe[gg¶ñðæ¾µÜ·B … … 119 205 } 120 206 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 121 227 string ICommonDbUtility.GetSqlStatement(ICommonDbCommand command) 122 228 { -
/framework/trunk/CoreLibrary/Sources/Data/ICommonDbConnection.cs
r20 r30 95 95 /// <see cref="SqlTemplate"/> ªgp³êÜ·B 96 96 /// </remarks> 97 ICommonDbDataAdapter CreateAdapter(string name, Sql BuildOption option);97 ICommonDbDataAdapter CreateAdapter(string name, SqlStatementOption option); 98 98 99 99 /// <summary> … … 134 134 /// <see cref="SqlTemplate"/> ªgp³êÜ·B 135 135 /// </remarks> 136 ICommonDbCommand CreateCommand(string name, Sql BuildOption option);136 ICommonDbCommand CreateCommand(string name, SqlStatementOption option); 137 137 138 138 /// <summary> -
/framework/trunk/CoreLibrary/Sources/Data/ICommonDbDataAdapter.cs
r20 r30 93 93 94 94 /// <summary> 95 /// <see cref="SelectCommand"/> vpeBÉÝè³êÄ¢é96 /// f[^x[XR}hðgpµÄAês¶ðr[ÌevpeBÉÝèµA97 /// »êðXgÉi[µÜ·B98 /// </summary>99 /// <typeparam name="T">êsªÌf[^ði[·ér[Ì^B</typeparam>100 /// <param name="beanList">r[ðsªi[·éXgB</param>101 /// <returns>ÇÝñ¾B</returns>102 int Fill<T>(IList<T> beanList);103 104 /// <summary>105 95 /// wèµ½ DataRow IuWFNgzñàÌ}üsAXVsAܽÍísÉεÄA 106 96 /// INSERTAUPDATEAÜ½Í DELETE Xe[ggðÂÊÉÄÑoµÜ·B -
/framework/trunk/CoreLibrary/Sources/Data/ICommonDbTransaction.cs
r20 r30 68 68 /// <see cref="ICommonDbConnection.SqlTemplate"/> ªgp³êÜ·B 69 69 /// </remarks> 70 ICommonDbDataAdapter CreateAdapter(string name, Sql BuildOption option);70 ICommonDbDataAdapter CreateAdapter(string name, SqlStatementOption option); 71 71 72 72 /// <summary> … … 100 100 /// <see cref="ICommonDbConnection.SqlTemplate"/> ªgp³êÜ·B 101 101 /// </remarks> 102 ICommonDbCommand CreateCommand(string name, Sql BuildOption option);102 ICommonDbCommand CreateCommand(string name, SqlStatementOption option); 103 103 104 104 /// <summary> -
/framework/trunk/CoreLibrary/Sources/Data/ICommonDbUtility.cs
r20 r30 52 52 53 53 /// <summary> 54 /// e[u¼ðGXP[vµÜ·B 55 /// </summary> 56 /// <param name="tableName">e[u¼B</param> 57 /// <param name="schemaName">XL[}¼B¢wèÌêÍ <c>null</c> QÆB</param> 58 /// <returns> 59 /// e[u¼ðGXP[vµ½¶ñB 60 /// </returns> 61 string EscapeTableName(string tableName, string schemaName); 62 63 /// <summary> 64 /// tB[h¼ðGXP[vµÜ·B 65 /// </summary> 66 /// <param name="fieldName">tB[h¼B</param> 67 /// <returns> 68 /// tB[h¼ðGXP[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[PX¼B</param> 76 /// <param name="schemaName">XL[}¼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[PX¼B</param> 86 /// <param name="schemaName">XL[}¼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> 54 93 /// R}hÆR}hÌp[^Ìàeð³É 55 94 /// SQL Xe[gg¶ñðæ¾µÜ·B -
/framework/trunk/CoreLibrary/Sources/Data/Sql/SqlParameter.cs
r20 r30 41 41 { 42 42 // óÔð`FbN 43 Trace.Assert(value == null || (value.Length > 0 && value[0] == '@'),43 Debug.Assert(value == null || (value.Length > 0 && value[0] == '@'), 44 44 Utility.Format("Invalid ParameterName '{0}'", value)); 45 45 -
/framework/trunk/CoreLibrary/Sources/Data/Sql/SqlUtility.cs
r20 r30 5 5 using System.Diagnostics.CodeAnalysis; 6 6 using System.Globalization; 7 using System.Text; 7 8 using System.Text.RegularExpressions; 8 9 using FCSoft.SilverFrost.Framework.Data.Common; … … 17 18 CommonDbUtility<SqlCommand> 18 19 { 20 21 /// <summary> 22 /// e[u¼EtB[h¼ðGXP[v·é½ßÌJ«B 23 /// </summary> 24 private const char NameEscapeOpen = '['; 25 26 /// <summary> 27 /// e[u¼EtB[h¼ðGXP[v·é½ß̶B 28 /// </summary> 29 private const char NameEscapeClose = ']'; 30 31 /// <summary> 32 /// XL[}¼Æe[u¼ÌZp[^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 19 46 20 47 /// <summary> … … 141 168 142 169 /// <summary> 170 /// e[u¼ðGXP[vµÜ·B 171 /// </summary> 172 /// <param name="tableName">e[u¼B</param> 173 /// <param name="schemaName">XL[}¼B¢wèÌêÍ <c>null</c> QÆB</param> 174 /// <returns> 175 /// e[u¼ðGXP[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 /// tB[h¼ðGXP[vµÜ·B 198 /// </summary> 199 /// <param name="fieldName">tB[h¼B</param> 200 /// <returns> 201 /// tB[h¼ðGXP[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[PX¼B</param> 218 /// <param name="schemaName">XL[}¼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[PX¼B</param> 233 /// <param name="schemaName">XL[}¼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> 143 245 /// R}hÆR}hÌp[^Ìàeð³É 144 246 /// SQL Xe[gg¶ñðæ¾µÜ·B -
/framework/trunk/CoreLibrary/Sources/Data/SqlStatement.cs
r20 r30 32 32 /// </summary> 33 33 [DebuggerBrowsable(DebuggerBrowsableState.Never)] 34 private readonly Sql BuildOption option;34 private readonly SqlStatementOption option; 35 35 36 36 /// <summary> … … 53 53 54 54 /// <summary> 55 /// SQL ev[gA¯Êq¼ASQL rhIvVðwèµÄ55 /// SQL ev[gA¯Êq¼ASQL Xe[ggIvVðwèµÄ 56 56 /// CX^Xð쬵ܷB 57 57 /// </summary> … … 62 62 /// <paramref name="option"/> ªwè³ê½êA 63 63 /// RXgN^ªÄÎê½_ÌIvVÌÇÝæèêpCX^XðgpµÜ·B 64 /// ]ÁÄA±ÌRXgN^Énµ½ SQL rhIvVÉεÄA64 /// ]ÁÄA±ÌRXgN^Énµ½ SQL Xe[ggIvVÉεÄA 65 65 /// ÄÑoµ³ÅÏXðsÁÄà±ÌCX^XÍe¿ðó¯Ü¹ñB 66 66 /// </remarks> 67 public SqlStatement(SqlTemplate template, string name, Sql BuildOption option)67 public SqlStatement(SqlTemplate template, string name, SqlStatementOption option) 68 68 { 69 69 // øð`FbN … … 86 86 option != null 87 87 ? (option.IsReadOnly ? option : option.AsReadOnly()) 88 : Sql BuildOption.Empty88 : SqlStatementOption.Empty 89 89 ); 90 90 } … … 120 120 121 121 /// <summary> 122 /// SQL Ì\zÉgp·éIvVðæ¾µÜ·B122 /// SQL Xe[ggÌ\zÉgp·éIvVðæ¾µÜ·B 123 123 /// </summary> 124 124 /// <value> 125 /// SQL Ì\zÉgp·éÇÝæèêpÌIvVB125 /// SQL Xe[ggÌ\zÉgp·éÇÝæèêpÌIvVB 126 126 /// </value> 127 public virtual Sql BuildOption SqlBuildOption127 public virtual SqlStatementOption SqlStatementOption 128 128 { 129 129 get -
/framework/trunk/CoreLibrary/Sources/Data/SqlStatementBlockIdentity.cs
r20 r30 96 96 { 97 97 throw new ArgumentException(Utility.Format( 98 Resources.Argument_ InvalidCharInSqlStatementBlockKey,98 Resources.Argument_SqlStatementBlockIdentity_InvalidCharInSqlStatementBlockKey, 99 99 key), "key"); 100 100 } -
/framework/trunk/CoreLibrary/Sources/Data/SqlStatementBuilder.cs
r20 r30 25 25 26 26 /// <summary> 27 /// SQL rhIvVB27 /// SQL Xe[ggIvVB 28 28 /// </summary> 29 29 [DebuggerBrowsable(DebuggerBrowsableState.Never)] 30 private readonly Sql BuildOption buildOption;30 private readonly SqlStatementOption buildOption; 31 31 32 32 /// <summary> … … 41 41 /// <param name="statementBlockMap">p·é SQL Xe[ggÌ}bvB</param> 42 42 /// <param name="zone">][¼B</param> 43 /// <param name="buildOption">SQL rhIvVB</param>43 /// <param name="buildOption">SQL Xe[ggIvVB</param> 44 44 internal SqlStatementBuilder( 45 45 IDictionary<SqlStatementBlockIdentity, SqlStatementBlock> statementBlockMap, 46 46 string zone, 47 Sql BuildOption buildOption)47 SqlStatementOption buildOption) 48 48 { 49 49 this.statementBlockMap = statementBlockMap; … … 68 68 69 69 /// <summary> 70 /// p·é SQL rhIvVðԵܷB70 /// p·é SQL Xe[ggIvVðԵܷB 71 71 /// </summary> 72 72 /// <value> 73 /// SQL rhIvVB73 /// SQL Xe[ggIvVB 74 74 /// </value> 75 public Sql BuildOption SqlBuildOption75 public SqlStatementOption SqlBuildOption 76 76 { 77 77 get -
/framework/trunk/CoreLibrary/Sources/Data/SqlTemplate.cs
r20 r30 448 448 public virtual string GetValue(string name, string zone) 449 449 { 450 return GetValue(name, zone, Sql BuildOption.Empty);451 } 452 453 /// <summary> 454 /// wèµ½ SQL ev[gubN¼Æ][¼Æ SQL rhIvVð³ÉA450 return GetValue(name, zone, SqlStatementOption.Empty); 451 } 452 453 /// <summary> 454 /// wèµ½ SQL ev[gubN¼Æ][¼Æ SQL Xe[ggIvVð³ÉA 455 455 /// ηé SQL ¶ð\zµÄԵܷB 456 456 /// </summary> 457 457 /// <param name="name">SQL ev[gubN¼B</param> 458 458 /// <param name="zone">][¼B</param> 459 /// <param name="buildOption">SQL rhIvVB</param>459 /// <param name="buildOption">SQL Xe[ggIvVB</param> 460 460 /// <returns> 461 461 /// \zµ½ SQL ¶B 462 462 /// </returns> 463 public virtual string GetValue(string name, string zone, Sql BuildOption buildOption)463 public virtual string GetValue(string name, string zone, SqlStatementOption buildOption) 464 464 { 465 465 SqlTemplateBlockCollection blocks = templateBlocks; -
/framework/trunk/CoreLibrary/Sources/Data/SqlTemplateBlockCollection.cs
r20 r30 254 254 255 255 /// <summary> 256 /// wèµ½ SQL ev[gubN¼Æ][¼Æ SQL rhIvVð³ÉA256 /// wèµ½ SQL ev[gubN¼Æ][¼Æ SQL Xe[ggIvVð³ÉA 257 257 /// ηé SQL ¶ð\zµÄԵܷB 258 258 /// </summary> 259 259 /// <param name="name">SQL ev[gubN¼B</param> 260 260 /// <param name="zone">][¼B</param> 261 /// <param name="buildOption">SQL rhIvVB</param>261 /// <param name="buildOption">SQL Xe[ggIvVB</param> 262 262 /// <returns> 263 263 /// \zµ½ SQL ¶B 264 264 /// </returns> 265 public virtual string GetValue(string name, string zone, Sql BuildOption buildOption)265 public virtual string GetValue(string name, string zone, SqlStatementOption buildOption) 266 266 { 267 267 // øð`FbN -
/framework/trunk/CoreLibrary/Sources/Data/SqlTemplateResourceCreator.cs
r20 r30 16 16 ISqlTemplateCreator 17 17 { 18 19 /// <summary>20 /// \[Xðw· URI ÌvgR¼B21 /// </summary>22 private const string ResourceProtocol = "resource:";23 24 18 25 19 /// <summary> … … 82 76 83 77 // \[XÈOͳ 84 if (!path.StartsWith(ResourceProtocol, StringComparison.InvariantCultureIgnoreCase)) 78 if (!path.StartsWith( 79 SqlTemplateResource.ResourceProtocol, 80 StringComparison.InvariantCultureIgnoreCase)) 85 81 { 86 82 return null; 87 83 } 88 84 89 // FIXME `FbN90 85 return path; 91 86 } … … 117 112 } 118 113 119 // FIXME \[X©ç[h 120 return new SqlTemplateFile(path, true, true); 114 return new SqlTemplateResource(path, true); 121 115 } 122 116 -
/framework/trunk/CoreLibrary/Sources/IO/FileStateMonitor.cs
r20 r30 101 101 { 102 102 throw new ArgumentException( 103 Resources.Argument_ InvalidMonitoredFileState,103 Resources.Argument_FileStateMonitor_InvalidMonitoredFileState, 104 104 "state"); 105 105 } -
/framework/trunk/CoreLibrary/Sources/Reflection/InstanceCreator.cs
r20 r30 11 11 public static class InstanceCreator 12 12 { 13 14 /// <summary> 15 /// wèµ½^¼ÌAø³µRXgN^ðgpµA 16 /// CX^Xð쬵ÄԵܷB 17 /// </summary> 18 /// <typeparam name="T">wèµ½NXªÀ·×«^AܽÍC^[tF[XB</typeparam> 19 /// <param name="typeName">쬷é^¼B</param> 20 /// <returns>쬵½CX^XB</returns> 21 /// <exception cref="ArgumentException"> 22 /// wè³ê½C^[tF[XâARXgN^ª©Â©çÈ¢êB 23 /// </exception> 24 /// <exception cref="TargetInvocationException"> 25 /// NXÌ[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ø³µRXgN^ðgpµA 35 /// CX^Xð쬵ÄԵܷB 36 /// </summary> 37 /// <typeparam name="T">wèµ½NXªÀ·×«^AܽÍC^[tF[XB</typeparam> 38 /// <param name="typeName">쬷é^¼B</param> 39 /// <param name="constructorArgumentTypes">RXgN^ÌøÌ^ÌêB</param> 40 /// <param name="constructorArguments">RXgN^ÌøÌêB</param> 41 /// <returns>쬵½CX^XB</returns> 42 /// <exception cref="ArgumentException"> 43 /// wè³ê½C^[tF[XâARXgN^ª©Â©çÈ¢êB 44 /// </exception> 45 /// <exception cref="TargetInvocationException"> 46 /// NXÌ[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 } 13 60 14 61 /// <summary> -
/framework/trunk/SilverFrostFramework.sln
r20 r30 3 3 # Visual Studio 2005 4 4 Project("{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 9 EndProject 10 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTest", "UnitTest\UnitTest.csproj", "{702680F9-02F8-470D-B585-A491EFB4192B}" 5 11 ProjectSection(WebsiteProperties) = preProject 6 12 Debug.AspNetCompiler.Debug = "True" … … 18 24 {4D3775C5-0F5B-43B2-892A-05A7644DD568}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 25 {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 20 30 EndGlobalSection 21 31 GlobalSection(SolutionProperties) = preSolution
※ 詳しい使い方は
TracChangeset を参照してください。