リレーショナルエンティティに保存する必要のある文字列リストがあります。
Dim ts = (From t In _repository.GetSettings _
Where t.TrustSettingId = Setting.SettingId).First()
For i As Integer = 0 To emailAddressList.Count()
If(Not emailAddressList(i) = ts.SettingEmailAddresses(i).EmailAddress)
ts.SettingEmailAddresses.Add(New SettingHREmailAddress() With {.EmailAddress = emailAddressList(i)})
End If
Next
次のエラーが発生します。
Unable to update the EntitySet 'TrustSettingEmailAddress' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.