Skip to content

[Protocol] StoreGeneratedPattern should not appear for Identity #116

Closed
@karataliu

Description

@karataliu

ModuleProducer.cs:

   MetadataProperty storeGeneratedPattern = null;
                    efProperty.MetadataProperties.TryGetValue(
                        AnnotationSchema + ":StoreGeneratedPattern",
                        true,
                        out storeGeneratedPattern);

                    if (storeGeneratedPattern != null)
                    {
                        SetComputedAnnotation(model, property);
                    }

This would generate StoreGeneratedPattern even the value is Identity.

Should verifiy the value is Computed when setting such pattern.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions