Skip to content

[API Proposal]: Add Interval to System.Data.DbType #116029

Open
@jogibear9988

Description

@jogibear9988

Background and motivation

As many Databases support a native Interval Type, we should add Interval as a DbType.

See also:
#30677
maybe this should be resolved as well
and also:
#41026

API Proposal

namespace System.Collections.Generic;

public class DbType
{
      ....,
      Interval,
}

API Usage

// Fancy the value
var c = DbType.Interval

Alternative Designs

No response

Risks

See none, the enum was also changed from Net Framework 1.1 to Net 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-suggestionEarly API idea and discussion, it is NOT ready for implementationarea-System.DatauntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions