6. Known Issues

  1. Problem: When generating a DateTime field for Sql Server, the inserted value will be 2 days off.

    Resolution
    : You can fix this by searching for

    .ToOADate()

    in the generated DAO classes and replacing it with

    .Subtract(new TimeSpan(2,0,0,0)).ToOADate()

    Fix
    : This is fixed in v1.1
  2. Problem: When generating stored procedures for Sql Server, the length values are not included in the sp.

    Resolution
    : Add them manually

    Fix
    : This is fixed in v1.1
  3. Problem: The unit tests do not execute in the correct order. The Delete test runs before the Insert test, resulting in loss of data. DO NOT TEST AGAINST PRODUCTION DATA.

    Resolution
    : Mark the Delete tests with the [Ignore] attribute (can be done by opening [installdir]\templates\adapdev\unittest.tcs and replacing:

    [Test]
    public void Delete(){

    with

    [Test, Ignore("")]
    public void Delete(){

    OR

    Change it to:

    [TestFixtureTearDown]
    public void Delete(){

    Fix: This is fixed in v1.1