Hello~.
I am using evaluation version of EntityDAC and LiteDAC with Sqlite3 DB file.
Linq based query works very well.. but below code makes an error message like the subject.
'[TDBContext] AutoSync is not supported in SQLite'.
procedure TForm1.B_ORMClick(Sender: TObject);
var
Context: TEntityContext;
W: TTWorkList;
WL: IEntityEnumerable<TTWorkList>;
begin
with DataModule1 do
begin
OrionContext.Connection.Provider := LiteDACDataProvider;
//WL := OrionContext.GetEntities<TTWorkList>;
W := OrionContext.CreateEntity<TTWorkList>;
W.PatientName := 'TOMM';
W.SEX := 'M';
W.Attach(OrionContext);
W.Save; // <======== This code makes the error.
end;
end;
Could you tell me how to fix error?
Thanks in advance
-K-
[TDBContext] AutoSync is not supported in SQLite
Re: [TDBContext] AutoSync is not supported in SQLite
Hello,
Please provide the complete project including the model file to support*devart*com, in order for us to be able to reproduce the problem.
Please provide the complete project including the model file to support*devart*com, in order for us to be able to reproduce the problem.