Jiri Cincura wrote: > > How are you creating DataSet/DataTable? Is created from design-time? > no, just in runtime, but i use common types (can it be problem? i will test it without common types)
DbTransaction Transaction = CreateTransaction(); //Here will be returned FbTransaction DbCommand cmd = CreateCommand(string.Format("select {0} from {1} {2}", Fields, TableName, Filter)); //Here will be returned FbCommand DbDataAdapter da = CreateDataAdapter(cmd); // Here will be returned FbDataAdapter DataTable result = new DataTable(TableName); da.MissingSchemaAction = MissingSchemaAction.AddWithKey; da.Fill(result); // Here we get exception Transaction.Commit(); I should notice, that with complex PrimaryKey is everything ok - many columns in one primary key, so should be done for unique constraints either P.S. which is up-to-date svn url for .net provider? I tried to get latest source from here http://firebird.svn.sourceforge.net/viewvc/firebird/NETProvider/trunk/ but failed receiving "Moved Permanently" error -- View this message in context: http://www.nabble.com/Unique-Constraint-Bug-tf3637383.html#a10157621 Sent from the firebird-net-provider mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider