1
I Use This!
Inactive

News

Analyzed 13 days ago. based on code collected 13 days ago.
Posted about 13 years ago by James Craig
1) Changed DbCommand's BeginTransaction to actually store the transaction in the command... 2) Lots of modifications of SQLHelper, Command, etc. to add batching... Still not done though.
Posted about 13 years ago by James Craig
1) Updated SQLHelper some more (working towards making batching of commands easier). A lot of the data is being moved to sub classes. 2) Added ParameterBase class 3) Created StringParameter and Parameter classes. 4) Moved the command class while I ... [More] figure out how SQLHelper will work internally. 5) Added BatchID property to IParameter (which will be used when batching of commands). [Less]
Posted about 13 years ago by James Craig
1) Switched DbDataReader extensions to IDataReader. 2) Modified Database code. It now holds a bit more info and can pull connection string info from the config file. 3) Started to modify Mapping class to simply hold info. Most of the functions are ... [More] going to be moved to SQLHelper. 4) Started modifying SQLHelper to be simpler and faster. Also items from the MicroORM are being moved over. [Less]
Posted over 13 years ago by James Craig
1) Simplified DbCommand and DbDataReader extensions a bit (internal code anyway) (Utilities.SQL.ExtensionMethods) 2) Added GetOrCreateParameter to DbCommand (Utilities.SQL.ExtensionMethods) 3) Updated Database class to hold more information (DbType ... [More] and Profile) and changed it to be a bit more thread safe (mappings has been changed to ConcurrentDictionary). 4) Updated SQLHelper a bit more. It now stores database information so connection strings only need to be entered once, Profile info has been moved to the Database object, moved the database type info to the Database object, etc. [Less]
Posted over 13 years ago by James Craig
1) Fixed a couple of bugs introduced by the SQLHelper changes.
Posted over 13 years ago by James Craig
1) Moved MicroORM code over to SQLHelper (this will be modified further). 2) Modified AddParameter extension method for DbCommand so that it no longer requires a length (it now uses the length of the value passed in for input parameters and nvarchar(max) for output parameters).
Posted over 13 years ago by James Craig
1) Started rework of SQLHelper code to incorporate MicroORM code. 2) Made DbCommandExtensions a bit more fluent in nature. 3) Added SetValue to IDictionary extensions.
Posted over 13 years ago by James Craig
1) Added a check to DirectoryInfo.SetAttributes for a null directory. 2) Removed Append extension from FileInfo. This has been combined with Save function. (Utilities.IO.ExtensionMethods) 3) Added extension methods that will take a string as the file ... [More] location and will save/read the corresponding file (instead of using FileInfo). This function also takes into account '~' and maps that to the path for the application/website. So you can do "~/Data/File.txt".Save("Content"); now. (Utilities.IO.ExtensionMethods) 4) Save extension method now takes a FileMode enum to specify how to handle creating/opening the file. (Utilities.IO.ExtensionMethods) 5) All serialization functions have been condensed down to 4 functions (Serialize,Deserialize,SerializeBinary,DeserializeBinary). These functions now allow you to specify the serializer to use on the fly (so if you want to user JSON.Net, etc., you just need to create the serializer object and feed it into the function). (Utilities.IO.ExtensionMethods) 6) To go with #5, serializers were created for binary, JSON, SOAP, and XML (more will be created as I go along and I plan to create a library to add external DLLs/libraries also). [Less]
Posted over 13 years ago by James Craig
1) Trying out adding unit tests to code as examples. 2) Added GetValue function for IDictionary types. (Utilities.DataTypes.ExtensionMethods) 3) Added the ability to recursively find all group members in LDAP code and added FindGroup code (based off ... [More] of cn field). 4) Finished adding profiling to ORM and simplified creation a bit (will be going further with this to make things as simple as possible). 5) Added IClientValidatable to Is validation rule. [Less]
Posted over 13 years ago by James Craig
1) Switched to using Github for Windows and had to update .gitignore and .hgignore.