Code

History

  1. GSF.Core: Added documentation to TableOperations UpdateRecord functions about automatic application of defined UpdateValueExpressionAttribute instances defined on modeled properties.J. Ritchie Carroll committed 9 years ago7678f1f
  2. GSF.Core: Added generic overloads to CategorizedSettingsBase class that will allow for application settings that are synchronized with a categorized section in a configuration file and will perform bi-directional synchronization of elements to an external source, e.g., user interface elements.J. Ritchie Carroll committed 9 years ago501293c
  3. GSF.Core: Added TypeConvertedValueExpressionAttribute and updated value expression parser to accommodate bi-directional expressions,i.e., where modeled property values can be assigned back to expressions allowing synchronization of a model with an external source, e.g., a user interface element.J. Ritchie Carroll committed 9 years agoec89a33
  4. GSF.Core: Added static InitializeType method to ValueExpressionParser so that any static functionality of modeled types can be initialized prior to calling create or update delegate generation functions. This allows modeled types to self-register any custom symbols and types that may be used during evaluation of value expressions attributes.J. Ritchie Carroll committed 9 years ago183b1f1
  5. Merge branch 'master' of https://github.com/GridProtectionAlliance/gsf.gitJ. Ritchie Carroll committed 9 years ago00728a2
  6. GSF.Core: Updated table operations to accept an enumerable of key/value pairs as custom tokens.J. Ritchie Carroll committed 9 years ago94daae1
  7. GSF.Core: Fixed custom type registry exception.StephenCWills committed 9 years ago13094c0
  8. GSF.Web: Updated primary key cache in data context hub client to use a concurrent dictionary to support possible simultaneous updates.J. Ritchie Carroll committed 9 years ago3943ceb
  9. GSF.Core: Fixed issues with session based primary key caching for DataContext uses of TableOperations.J. Ritchie Carroll committed 9 years ago3e6419a
  10. GSF.Core: Optimized TableOperations non-paging QueryRecords functions to directly load all data fields instead of loading each record by primary keys.J. Ritchie Carroll committed 9 years ago2e8157f
  11. GSF.Web: Updated DataContext table operations to be cached per session hub-client.J. Ritchie Carroll committed 9 years agoc890f79
  12. GSF.Core: Added UpdateValueExpression to allow for expression based updates.J. Ritchie Carroll committed 9 years agob3d39ba
  13. GSF.Core: Added requirement to set evaluation order when using "this" keywords in DefaultValueExpressionAttribute.J. Ritchie Carroll committed 9 years ago6918d4a
  14. GSF: Cleaned up build warnings.J. Ritchie Carroll committed 9 years ago38ff313
  15. GSF.Core: (1) Moved table of cached default value expression values to per type T instance to reduce contention, (2) added more simple CreateInstance function that does not require scoping parameter.J. Ritchie Carroll committed 9 years ago3dea4bc
  16. GSF.Core: (1) Added "EvaluationOrderAttribute" so that custom ordering can happen when evaluating default value expressions, (2) added "Cached" property to DefaultValueExpressionAttribute so that costly expressions that do not change can be cached to prevent further evaluations, e.g.: [DefaultValueExpression("NotNull(Connection.ExecuteScalar('SELECT ID FROM SignalType WHERE Acronym=\\'CALC\\''), 10)", Cached = true)]J. Ritchie Carroll committed 9 years agof852134
  17. GSF.Core: (1) Added DefaultValueExpressionParser and DefaultValueExpressionScopeBase so that default value expressions can be used easily in other places, (2) updated DefaultValueExpressionAttribute implementations that are used with TableOperation models to support use of "this" keyword for self-referencing field access (3) moved attributes into GSF.ComponentModel and GSF.ComponentModel.DataAnnotations - this will be a breaking change for some model implementations, (4) updated ConnectionStringParser to recognize DefaultValueExpressionAttributesJ. Ritchie Carroll committed 9 years ago24f271e
  18. GSF.Core: (1) Updated commented for recent check-ins. (2) Fixed sealed state for InitialValueAttribute.J. Ritchie Carroll committed 9 years ago2818714
  19. GSF.Core: Added 'DefaultValueExpressionAttribute` for handling modeled default values based on expressions when using NewRecord function of TableOperations, e.g., [DefaultValueExpression("Guid.NewGuid()")], [DefaultValueExpression("DateTime.UtcNow")], [DefaultValueExpression("UserInfo.CurrentUserID")] and even [DefaultValueExpression("NotNull(Connection.ExecuteScalar('SELECT ID FROM SignalType WHERE Acronym=\\'CALC\\''), 10)")]J. Ritchie Carroll committed 9 years ago3b6a825
  20. GSF.Core: Added "NewRecord" function to TableOperations that will create a new modeled record instance, automatically applying any modeled default values as specified by a DefaultValueAttribute on the model properties.J. Ritchie Carroll committed 9 years ago26383ff
  21. GSF.Core: Added several helper function overloads to TableOperations to allow user to directly specify a filter expression and parameters for functions that accept a RecordRestriction.J. Ritchie Carroll committed 9 years agodb698d0
  22. GSF.Core: Added QueryRecord and AddNewOrUpdateRecord helper functions to TableOperations.J. Ritchie Carroll committed 9 years agof132224
  23. GSF.Core: Updated comments for recent check-ins for readability and clarity.J. Ritchie Carroll committed 9 years agoa6e8751
  24. GSF.Core: Added ability to model expression amendments for SQL statements in modeled tables used with TableOperations using an AmendExpressionAttribute - this includes the ability to use run-time token replacements for modeled amendments, e.g., "TOP {count}" where count was configurable at run-time.J. Ritchie Carroll committed 9 years ago73060c4
  25. Removed remaining build warnings.J. Ritchie Carroll committed 10 years ago331933f
  26. GSF.Core: Updated SearchableAttribute to accept a SearchType enumeration instead of a boolean for clarity in definition.J. Ritchie Carroll committed 10 years ago8040184
  27. GSF.Core: Added "SearchableAttribute" for modeled table fields to allow which fields in the model should be searched. Added two overloads for QueryRecordCount and QueryRecords that now accept a multi-keyword search string that will be applied to all search fields.J. Ritchie Carroll committed 10 years ago398edd4
  28. GSF.Data.Model: Corrected FieldHasAttribute function in table operations to validate attributes based on sub-classing.Billy Ernest committed 10 years ago691e081
  29. GSF.Data.Model: Fixed issues with resolving unescaped table and field names.Ritchie Carroll committed 10 years ago6dead23
  30. GSF.Data.Model: (1) Added ability to query unescaped fields from models in table operations; usesful in DataContext where field names were being used in rendered Javascript code, (2) Added "DataRow" operations to common table operations for handy interop when a model is defined and user has access to a queried DataRow, (3) Added overloads to field attribute functions in table operations to allow for situations when only a Type is available.Ritchie Carroll committed 10 years agob0c552e
  31. GSF.Data.Model: Updated table operations to row based convert field extension for LoadRecord.Ritchie Carroll committed 10 years agoe50f39e
  32. GSF.Data: Added ConvertField functions to AdoDataConnection that will properly handle Guid based fields in data rows based on database connection type. GSF.Data.Model: Updated TableOperations to use ConvertField function in AdoDataConnection when loading a record.J. Ritchie Carroll committed 10 years ago1c6899f
  33. GSF.Data.Model: Fixed TableOperation interface implementation of GetFieldValue to return proper data.Ritchie Carroll committed 10 years ago42840c5
  34. GSF.Data.Model: Added interface for TableOperations so that any modeled table operation can be accessed generically. GSF.Web: Updated data context to handle Type based parameters as well as generic functions, added paged view model data and hub types to RazorWeb rendering view bag configuration and ability to define types per page in WebServer implementations.Ritchie Carroll committed 10 years ago49562ca
  35. GSF.Data.Model: Updated TableOperations commentsJ. Ritchie Carroll committed 10 years ago46e24a0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t