Skip to content

are mismatched cols an issue? #396

@GusBeare

Description

@GusBeare

I love Simple. Data and I hope it doesn't die.

I am curious about something. I am playing with dynamic objects and not using models.

If I update a table like this:

db.Mytable.UpdateById(formRow);

Sometimes there are items in the data object (formRow) that are missing from the table. Only a couple at the most. I can remove these like this:

formRow.Remove(KeyName);

But is there any point? Simple.Data seems to be able to handle the mismatches.

Is it good practice to remove them? I would assume that I should only ever include cols that are being updated. But is it really necessary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions