Esempio n. 1
0
 private void ConfigureAnnotations(EdmProperty column)
 {
     foreach (KeyValuePair <string, object> annotation in (IEnumerable <KeyValuePair <string, object> >) this._annotations)
     {
         column.AddAnnotation("http://schemas.microsoft.com/ado/2013/11/edm/customannotation:" + annotation.Key, annotation.Value);
     }
 }
 private void ConfigureAnnotations(EdmProperty column)
 {
     foreach (var annotation in _annotations)
     {
         column.AddAnnotation(XmlConstants.CustomAnnotationNamespace + ":" + annotation.Key, annotation.Value);
     }
 }
        internal void Configure(EdmProperty edmProperty, int indexOrder)
        {
            DebugCheck.NotNull(edmProperty);

            edmProperty.AddAnnotation(XmlConstants.IndexAnnotationWithPrefix,
                                      new IndexAnnotation(new IndexAttribute(_name, indexOrder, _isClustered, _isUnique)));
        }