Permalink
Commits on Mar 22, 2018
  1. Change alias variable name to _alias (#609)

    muratbaseren authored and mythz committed Mar 22, 2018
    * Change alias variable name to _alias
    
    "alias" is special keyword in visual studio. So, it occured error that can be show in error list. I changed to fixed it.
    
    * Removed default value some method parameters
    
    They caused errors. I removed. So, these changes, affected OrmLite.Poco.tt file.
    
    * Added bool parameter value to some methods
    
    I removed default method parameter value previous commit. So, some methods required these parameter value. 
    managerStartHeader, manager.StartFooter and manager.Process..
Commits on Mar 19, 2018
Commits on Mar 9, 2018
Commits on Mar 6, 2018
Commits on Mar 4, 2018
  1. Fixes for conditional expressions in filter and sorting (#607)

    OlegNadymov authored and mythz committed Mar 4, 2018
    * Support for Conditional expression in filter
    
    * Fixes for conditional expressions in filter and sorting
Commits on Feb 27, 2018
  1. Fix SQL Server 2012 tests

    mythz committed Feb 27, 2018
Commits on Feb 26, 2018
Commits on Feb 23, 2018
  1. Update dlls

    mythz committed Feb 23, 2018
  2. Implements the ReturnOnInsert attribute (#606)

    madaleno authored and mythz committed Feb 23, 2018
    * Implement ReturnOnInsert attribute for SqlServer
    
    Implement ReturnOnInsert attribute to return field values in Insert statements.
    This solves the problem of using Sequences instead of Identity for AutoIncrement fields.
    Also can be used to returns fields that have their value changed/calculated by triggers after the insert.
    
    Works well in SqlServer.
    Does not work with FireBird yet. Needs further analisys of FireBird .net client source code.
    
    * Fixed ReturnAttribute implementation when using Save()
    
    While doing more tests and creating the sample test project saw some things to fix.
    
    Needed some changes when using with db.Save().
     When using db.Save() the sql generation was appending dialectProvider.GetLastInsertIdSqlSuffix() to the sql command and the code was not reading the returning values.
    
    Applied some fixes to the FireBird provider.
    
    * Implemented Sequences in SqlServer dialect provider.
    
    Implemented Sequences in SqlServer dialect provider.
    
    Fields with AutoIncrement attribute are now automatically included in the list of fields to return when gererating the insert sql statement.
    
    Fields with AutoIncrement attribute and a Sequence attribute are also included in the insert field list with the value clause set to an sql expression to get the value from the sequence.
    This reduces database calls by avoiding a separate call to get the auto-increment value since the insert call does it all now.
    
    Fields with the Sequence attribute will no longer generate a IDENTITY field type. Instead it now generates a regular field with the default to "NEXT VALUE FOR {sequence_name}".
    This also allows for safe inserts from other processes/apps.
    
    * Bug fixes and ReturnAttribute cleanup
    
    Fixed DoesSequenceExist() when the sequence didn't exist.
    
    Implemented missing ToCreateSequenceStatement() method.
    
    Fixed PrepareParameterizedInsertStatement() to also generate the correct sql for fields with Sequences that are not AutoIncrement. Not usual to have, but possible.
    
    Removed call to unused ReturnAttribute.
    
    Added ReturnAttributeTests to SqlServerTests project.
    
    * Renamed ReturnOnInsert attribute.
    
    Renamed ReturnOnInsert attribute.
Commits on Feb 19, 2018
Commits on Feb 17, 2018
  1. update test

    mythz committed Feb 17, 2018
  2. Better to just use ConvertTo

    mythz committed Feb 17, 2018
Commits on Feb 13, 2018
  1. Update SS.Interfaces

    mythz committed Feb 13, 2018
Commits on Feb 7, 2018
  1. Fix EnumAsInt PK Issue

    mythz committed Feb 7, 2018
Commits on Jan 24, 2018
  1. Fix typo (#604)

    labilbe authored and mythz committed Jan 24, 2018
Commits on Jan 17, 2018
  1. more comments

    mythz committed Jan 17, 2018
  2. formatting

    mythz committed Jan 17, 2018
Commits on Jan 12, 2018
Commits on Jan 10, 2018
  1. Update OrmLite docs

    mythz committed Jan 10, 2018
Commits on Jan 9, 2018
Commits on Jan 2, 2018
  1. Update SS .dlls

    mythz committed Jan 2, 2018
Commits on Jan 1, 2018
Commits on Dec 31, 2017
Commits on Dec 23, 2017
  1. Add MySql .Core nuspec

    mythz committed Dec 23, 2017