Adapdev.NET Framework 2.0 User's Guide
Next
Adapdev.NET Framework 2.0 User's Guide
Sean McCormack (http://www.adapdev.com)
Copyright © 2007 Adapdev Technologies, LLC. All Rights Reserved.
Table of Contents
1. Overview
1. What is Adapdev.NET?
2. Legal Information
3. Licensing
3.1. Code and Binaries
4. Scope of Documentation
2. Adapdev Namespaces
1. Adapdev
1.1. Object Validation
1.1.1. IValidationRule
1.1.2. IValidator
1.1.3. ICompositeValidator & CompositeValidator
1.1.4. Extended Example
1.2. Object Comparison
1.2.1. Comparing Objects by Property Only
1.2.2. Comparing Objects by Field Only
1.2.3. Comparing Objects by Field AND Property
1.2.4. Comparing Serializable Objects
1.2.5. Comparing Bytes
2. Adapdev.Cache
2.1. The ICache Interface
2.1.1. Adding objects to the cache
2.1.2. Replacing objects in the cache
2.1.3. Getting an object out of the cache
2.1.4. Removing an object from the cache
2.1.5. Clearing the cache
2.1.6. Populating the cache
2.2. ICache Implementations
2.2.1. Saving to Memory - MutableInMemoryCache
2.2.2. Saving to Memory - ImmutableInMemoryCache
2.2.3. Saving to the File Store - FileCache
2.3. The ICacheItem Object
2.4. CacheManager
2.4.1. Setting and Retrieving the ICache
2.4.2. Changing the CacheType
2.4.3. Changing the CacheType without Copying Values
2.5. CacheUtil
2.6. CacheStats
2.7. The IScavenger Interface
2.8. IScavenger Implementations
2.8.1. Absolute Expiration
2.8.2. First In First Out
2.8.3. Greater Than a Certain Ordinal Position
2.8.4. Last In First Out
2.8.5. Sliding Expiration
3. Adapdev.CodeGen
3.1. Generating with CodeDOM
3.1.1. Generating to Memory
3.1.2. Generating To a File
3.2. Generating with NVelocity
3.2.1. Generating to Memory
4. Adapdev.Collections
4.1. CollectionSorter
4.1.1. Sorting By One Property
4.1.2. Sorting By Multiple Properties
4.1.3. Specifying Sort Order
4.2. SortableCollectionBase
4.2.1. Inheriting from SortableCollectionBase
4.2.2. Sorting By One Property
4.2.3. Sorting By Multiple Properties
4.2.4. Specifying Sort Order
5. Adapdev.Cryptography
5.1. Encryption and Decryption
5.1.1. DES
5.1.2. TripleDES
5.1.3. Rijndael
5.2. Hashing
5.2.1. Default Hashing (MD5)
5.2.2. Hashing with SHA*
6. Adapdev.Data
6.1. AbstractDAO
6.1.1. Example - CategoriesDAO
6.2. CommandTextViewer
6.3. DataReaderDebugger
6.4. DataSetDebugger
6.5. DbProviderFactory
6.5.1. Creating Commands
6.5.2. Creating Connections
6.5.3. Creating DataReaders
6.5.4. Creating DataSets
7. Adapdev.Data.Sql
7.1. Select Queries
7.1.1. Adding All Columns
7.1.2. Adding Specific Columns
7.1.3. Adding Multiple Tables with Columns
7.1.4. Adding Columns with Aliases
7.1.5. Getting COUNT for All Columns
7.1.6. Getting COUNT for a Specific Column
7.1.7. Specifying ORDER BY
7.1.8. Specifying Multiple ORDER BYs
7.1.9. Adding JOINs
7.1.10. Setting Record Limits
7.2. Insert Queries
7.2.1. Inserting Columns with Values
7.2.2. Inserting Columns with Null Values
7.2.3. Inserting Parametized Columns
7.3. Update Queries
7.3.1. Updating Columns with Values
7.3.2. Updating Columns with Null Values
7.3.3. Updating Using Parametized Columns
7.4. Delete Queries
7.5. Adding Criteria (WHERE...)
7.5.1. Between / Not Between
7.5.2. Equal To / Not Equal To
7.5.3. Exists / Doesn't Exist
7.5.4. In / Not In
7.5.5. Greater Than / Greater Than or Equal To
7.5.6. Less Than / Less Than or Equal To
7.5.7. Null / Not Null
7.6. Adding Multiple Criteria
8. Adapdev.Data.Schema
8.1. Schema Class Structure
8.2. Retreiving Database Schema
8.3. Saving Database Schema
8.4. Comparing Database Schema
9. Adapdev.Diagnostics
9.1. CPU Usage
9.2. CPU Timer
10. Adapdev.IO
10.1. FileUtil
10.1.1. Creating and Writing to Files
10.1.2. Reading from Files
10.2. FileWatcher
10.2.1. Watching a Folder (Don't Include SubFolders)
10.2.2. Watching a Folder (Include SubFolders)
10.2.3. Watching Specific File Types
10.2.4. Watching a Specific File
10.2.5. Stopping and Starting the FileWatcher
11. Adapdev.Reflection
11.1. AssemblyCache
11.2. ClassAccessor
11.2.1. Loading Properties
11.2.2. Reading / Writing Properties
11.2.3. Lazy Loading of Properties
11.2.4. PropertyAccessor
11.2.5. Loading Fields
11.2.6. Reading / Writing Fields
11.2.7. Lazy Loading of Fields
11.2.8. FieldAccessor
11.2.9. Loading all Properties and Fields
11.2.10. Reading / Writing to Properties AND Fields With One API
11.2.11. ClassAccessor Information
11.3. ClassAccessorCache
11.3.1. Adding / Retrieving ClassAccessors
11.3.2. Removing ClassAccessors
11.3.3. Clearing the Cache
12. Adapdev.Serialization
12.1. Serializing to SOAP
12.2. Serializing to Xml
12.3. Serializing to Binary
13. Adapdev.Transactions
14. Adapdev.UnitTest.*
14.1. Setting Up Your Environment for Testing
14.1.1. Assemblies
14.1.2. Assembly Binding and Redirecting
14.2. The TestEngineFactory
14.2.1. Test Event Dispatching
14.3. The ITestEngine
14.3.1. Number of Loaded Tests
14.3.2. Loaded Assemblies
14.3.3. The Test Log
14.3.4. The Test Configuration File
14.4. Displaying Results
15. Adapdev.XPath
15.1. Selecting Nodes with XPathNodeIterator
15.2. Selecting a Node with SelectObject
15.3. Selecting Nodes with SelectObjects