public void PopulateParameters_does_not_create_parameter_for_read_ModificationCommand() { var entry = CreateEntry(EntityState.Added, generateKeyValues: true); var property = entry.EntityType.GetProperty("Id"); entry.MarkAsTemporary(property); var batch = new ModificationCommandBatchFake(); var commandBuilder = new CommandBuilderFake(); batch.PopulateParametersBase( commandBuilder, new ColumnModification( entry, property, property.TestProvider(), new ParameterNameGenerator(), true, false, false, false)); Assert.Equal(0, commandBuilder.AddParameterCalls); }