Commits

Author Commit Message Labels Comments Date
JaCraig
1) Added ToExpando (converts an object to an ExpandoObject) and version of TryTo that works with ExpandoObjects. (Utilities.DataTypes.ExtensionMethods) 2) Modified cache to use ConcurrentDictionary (should be faster). 3) Added extension methods for caching data (allows for caching to multiple ASP.Net locations as well as the cache internal to CUL. Useful if your code may be run from a web app or windows app.) (Utilities.Caching.ExtensionMethods) 4) Modified Profiler class a bit so that it can track where the item was called from (Class/Method) 5)…
JaCraig
1) Simplified profiler a bit. It no longer uses ProfilerManager and is instead all in Profiler class. 2) Profiler now allows sub items for timing purposes. 3) Added Fraction class to Utilities.Math namespace. 4) Added Timing related extensions (allows easy timing of Funcs/Actions) (Utilities.Profiler.ExtensionMethods)
JaCraig
1) Events namespace has been removed and merged into DataTypes (Utilities.DataTypes.EventArgs and Utilities.DataTypes.ExtensionMethods). The Raise functions should now be easier to call as they are simply extension methods now.
JaCraig
1) Error namespace has been removed. Items from this namespace were moved to other locations (Web received anything based on HttpContext, Request, etc. Reflection received anything based on Assemblies. Environment received anything based on Processes.) 2) CodeGen namespace has been removed. Items from this namespace have been made more generic and added to the DataTypes namespace in various forms (StringTemplate and FormatString extensions). 3) Added AppendLineFormat extension for StringBuilder (Utilities.DataTypes.ExtensionMethods) 4) Added 2 FormatString extensions that can be used to treat a string as a template (one uses an object and replac…
JaCraig
1) Due to people actually asking to help or make changes, I've switched to xUnit.Net for unit testing to make things easier (still getting odd file issues at the moment) and I've switched to using Mighty Moose/AutoTest.Net to help speed up the testing (usually takes 3 minutes each time I run all the tests).
JaCraig
1) Modified Array extension Combine to allow multiple arrays to specified. 2) Removed BeginningOfDay (use Date property instead). 3) Chain, Do, and Return were all very similar. As such they were combined. Chain is temporarily the function name. It now has a default return value (which is returned if the object or the function are null or the returned value from the function is null) and default object value (which replaces the object prior to running the function if the…
JaCraig
1) Fixed issue with ManyToOne mappings in the ORM if they are of the same type. Before it was saving to the join table multiple entries for each item without having a decisive parent/child relationship.
JaCraig
JaCraig
1) Added Salt extension that can be used to salt a string/byte array. (Utilities.Encryption.ExtensionMethods)
JaCraig
1) Updated validation attributes so that they are inheritable. 2) Updated version to 3.2
JaCraig
1) Fixed saving to file in ToXML, ToSOAP, and ToJSON when an Encoding is specified.
JaCraig
1)Fixed a couple memory leaks in EmailSender.
JaCraig
1) Added extension method to IEnumerables that will save the entire list of objects (Utilities.ORM.ExtensionMethods).
JaCraig
1) Added FindGroupMembers function to LDAP Directory class.
JaCraig
Moved tag Github/master to changeset 39c01a58fe5a (from changeset d0790e4848f7)
JaCraig
Removed tag github/master
Tags
Github/master
JaCraig
Moved tag Github/master to changeset d0790e4848f7 (from changeset 8045c97e7b09)
JaCraig
1) Fixed ordering when initializing mappings in the ORM.
JaCraig
1) Added execute capability with strings (Utilities.IO.ExtensionMethods).
JaCraig
1) Updated ORM so that when generating the database it sets ON DELETE CASCADE and ON DELETE SET NULL where applicable (note that items where SQL Server would complain, it just sets up the foreign key). 2) Due to number 1, the number of calls when deleting items has been reduced. 3) Fixed issue with Map in CascadeJoinsSave. 4) Updated deletion code so that it goes through and removes joins properly (basically items that aren't deleted by #1). 5) Updated SQL data classes so that columns so that ON DELETE CASCADE, ON UPDATE CASCADE, and ON DELETE SET NULL can be set.
JaCraig
1) Moved Command class from ORM namespace to SQL namespace and added the ability to specify parameters. 2) Added an easier way to add parameters to SQLHelper. Now if you use the AddParameter(params object[] Parameters) function, it will treat it like string formatting (so in "SELECT * FROM Table WHERE ID=@0 AND Value=@1", if you used AddParameter(10,"This is a string"), it would put the value 10 in for @0 and "This is a string" for @1. 3) Fixed bug in ORM where cascading saves didn't save entries in…
JaCraig
1) Fixed issue with ClassGenerator if a property does not have an attribute. 2) Fixed issue with IListManyToMany and IListManyToOne not saving join information correctly.
JaCraig
1) Fixed issue with ORM if List is created in constructor, it should still try to load using lazy loading if it's empty.
JaCraig
1) Added the ability to set a min/max for the random attributes. 2) Did Remove/Sort for the usings. 3) Added a couple more comments.
JaCraig
1) Finished the new random extensions and added the ability to generate random classes using attributes (an example is in the unit tests for the RandomExtensions). 2) Added a number of comments to the code.
JaCraig
1) Added Scalar function to MicroORM and ORM so you can write Scalar<int>("COUNT(*)) and get the number of items total easily. 2) Fixed BTree unit test so it actually works appropriately.
JaCraig
1) Realized that I broke various extension methods in the web namespace. This should be fixed. 2) Added a number of comments.
JaCraig
1) Made Mapping class in ORM abstract so it doesn't get picked up by IsOfType.
JaCraig
1) Fixed issue with IsOfType with interfaces that have the same name.
JaCraig
1) Added a number of random content generators (Address, City, Domain Name, Email, State, Street, Zip Code, Company, etc). 2) Made generators attributes will be used later on. 3) Added ability to specify domain and authentication type in Uri Extensions (Utilities.IO.ExtensionMethods)
  1. Prev
  2. Next