how to insert data in foreign key column in c# : I have a table that has an external key value. So I can save photos of a letter on the photo table. This table has three records.
{
Id is not null,
Picture is not null,
Latterid (Foreign key) is not null
}
I do not know what grammar should I write to add a bit to this table
My program was used in C # and I used entityframework