As you have probably already figured out this is caused by our internal representation of the string you pass in. We are splitting the string using the dot symbol as a separator and we are taking the last part as an actual table name while the first one acts as a schema name. If you look closely you will see that the .ToTable method actually takes a TableName as parameter. You can use that table name to specify the correct structure of your relational model and pass that as parameter.
Your code should look like this:
TableName tableName =
EventId = logEvent.EventId,
EventTypeId = logEvent.EventTypeId,
Message = logEvent.Message,
Source = logEvent.Source,
Timestamp = logEvent.Timestamp,
UserId = logEvent.UserId
Please note that in the above example you can replace the sting.Empty with an actual schema name.
I hope that works for you.
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!