@@ -15,15 +15,15 @@ public static class JetModelExtensions
1515 /// </summary>
1616 /// <param name="model"> The model. </param>
1717 /// <returns> The default identity seed. </returns>
18- public static int GetIdentitySeed ( [ NotNull ] this IReadOnlyModel model )
19- => ( int ? ) model [ JetAnnotationNames . IdentitySeed ] ?? 1 ;
18+ public static int GetJetIdentitySeed ( [ NotNull ] this IReadOnlyModel model )
19+ => ( int ? ) model [ JetAnnotationNames . IdentitySeed ] ?? 1 ;
2020
2121 /// <summary>
2222 /// Sets the default identity seed.
2323 /// </summary>
2424 /// <param name="model"> The model. </param>
2525 /// <param name="seed"> The value to set. </param>
26- public static void SetIdentitySeed ( [ NotNull ] this IMutableModel model , int ? seed )
26+ public static void SetJetIdentitySeed ( [ NotNull ] this IMutableModel model , int ? seed )
2727 => model . SetOrRemoveAnnotation (
2828 JetAnnotationNames . IdentitySeed ,
2929 seed ) ;
@@ -34,7 +34,7 @@ public static void SetIdentitySeed([NotNull] this IMutableModel model, int? seed
3434 /// <param name="model"> The model. </param>
3535 /// <param name="seed"> The value to set. </param>
3636 /// <param name="fromDataAnnotation"> Indicates whether the configuration was specified using a data annotation. </param>
37- public static void SetIdentitySeed ( [ NotNull ] this IConventionModel model , int ? seed , bool fromDataAnnotation = false )
37+ public static void SetJetIdentitySeed ( [ NotNull ] this IConventionModel model , int ? seed , bool fromDataAnnotation = false )
3838 => model . SetOrRemoveAnnotation (
3939 JetAnnotationNames . IdentitySeed ,
4040 seed ,
@@ -45,23 +45,23 @@ public static void SetIdentitySeed([NotNull] this IConventionModel model, int? s
4545 /// </summary>
4646 /// <param name="model"> The model. </param>
4747 /// <returns> The <see cref="ConfigurationSource" /> for the default schema. </returns>
48- public static ConfigurationSource ? GetIdentitySeedConfigurationSource ( [ NotNull ] this IConventionModel model )
48+ public static ConfigurationSource ? GetJetIdentitySeedConfigurationSource ( [ NotNull ] this IConventionModel model )
4949 => model . FindAnnotation ( JetAnnotationNames . IdentitySeed ) ? . GetConfigurationSource ( ) ;
5050
5151 /// <summary>
5252 /// Returns the default identity increment.
5353 /// </summary>
5454 /// <param name="model"> The model. </param>
5555 /// <returns> The default identity increment. </returns>
56- public static int GetIdentityIncrement ( [ NotNull ] this IReadOnlyModel model )
57- => ( int ? ) model [ JetAnnotationNames . IdentityIncrement ] ?? 1 ;
56+ public static int GetJetIdentityIncrement ( [ NotNull ] this IReadOnlyModel model )
57+ => ( int ? ) model [ JetAnnotationNames . IdentityIncrement ] ?? 1 ;
5858
5959 /// <summary>
6060 /// Sets the default identity increment.
6161 /// </summary>
6262 /// <param name="model"> The model. </param>
6363 /// <param name="increment"> The value to set. </param>
64- public static void SetIdentityIncrement ( [ NotNull ] this IMutableModel model , int ? increment )
64+ public static void SetJetIdentityIncrement ( [ NotNull ] this IMutableModel model , int ? increment )
6565 => model . SetOrRemoveAnnotation (
6666 JetAnnotationNames . IdentityIncrement ,
6767 increment ) ;
@@ -72,7 +72,7 @@ public static void SetIdentityIncrement([NotNull] this IMutableModel model, int?
7272 /// <param name="model"> The model. </param>
7373 /// <param name="increment"> The value to set. </param>
7474 /// <param name="fromDataAnnotation"> Indicates whether the configuration was specified using a data annotation. </param>
75- public static void SetIdentityIncrement (
75+ public static void SetJetIdentityIncrement (
7676 [ NotNull ] this IConventionModel model , int ? increment , bool fromDataAnnotation = false )
7777 => model . SetOrRemoveAnnotation (
7878 JetAnnotationNames . IdentityIncrement ,
@@ -84,7 +84,7 @@ public static void SetIdentityIncrement(
8484 /// </summary>
8585 /// <param name="model"> The model. </param>
8686 /// <returns> The <see cref="ConfigurationSource" /> for the default identity increment. </returns>
87- public static ConfigurationSource ? GetIdentityIncrementConfigurationSource ( [ NotNull ] this IConventionModel model )
87+ public static ConfigurationSource ? GetJetIdentityIncrementConfigurationSource ( [ NotNull ] this IConventionModel model )
8888 => model . FindAnnotation ( JetAnnotationNames . IdentityIncrement ) ? . GetConfigurationSource ( ) ;
8989
9090 /// <summary>
@@ -94,7 +94,7 @@ public static void SetIdentityIncrement(
9494 /// <param name="model"> The model. </param>
9595 /// <returns> The default <see cref="JetValueGenerationStrategy" />. </returns>
9696 public static JetValueGenerationStrategy ? GetValueGenerationStrategy ( [ NotNull ] this IReadOnlyModel model )
97- => ( JetValueGenerationStrategy ? ) model [ JetAnnotationNames . ValueGenerationStrategy ] ;
97+ => ( JetValueGenerationStrategy ? ) model [ JetAnnotationNames . ValueGenerationStrategy ] ;
9898
9999 /// <summary>
100100 /// Sets the <see cref="JetValueGenerationStrategy" /> to use for properties
@@ -121,7 +121,7 @@ public static void SetValueGenerationStrategy(
121121 /// </summary>
122122 /// <param name="model"> The model. </param>
123123 /// <returns> The <see cref="ConfigurationSource" /> for the default <see cref="JetValueGenerationStrategy" />. </returns>
124- public static ConfigurationSource ? GetValueGenerationStrategyConfigurationSource ( [ NotNull ] this IConventionModel model )
124+ public static ConfigurationSource ? GetJetValueGenerationStrategyConfigurationSource ( [ NotNull ] this IConventionModel model )
125125 => model . FindAnnotation ( JetAnnotationNames . ValueGenerationStrategy ) ? . GetConfigurationSource ( ) ;
126126 }
127127}
0 commit comments