Hm, looks like it works. Added .HasMaxLength(256) to all fields and it
goes success ahead.
Before I tried only for one field and it doesn't work.
Thx for fast response.
On 1 October 2015 at 13:56, Jiří Činčura wrote:
> You should specify, at least, the length. Else it's the default and
> that's
You should specify, at least, the length. Else it's the default and
that's "unlimited" hence the blob.
--
Mgr. Jiří Činčura
Independent IT Specialist
On Thu, Oct 1, 2015, at 12:54, Геннадий Забула wrote:
> Entity:
> public sealed class Table
> {
> public Table()
> {
>
Entity:
public sealed class Table
{
public Table()
{
this.Entities1 = new List();
}
public int Id { get; set; }
public string Field1{ get; set; }
public string Field2{get; set; }
public string Field3 { get; set; }
We map the entities through EntityTypeConfiguration class:
Src table mapping:
this.HasKey(t => t.Id);
// Properties
// Table & Column Mappings
this.ToTable("TABLE2");
this.Property(t => t.Id).HasColumnName("ID");
this.Propert
How does the entity and mapping looks like?
--
Mgr. Jiří Činčura
Independent IT Specialist
--
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.ne
I have next table in two databases:
CREATE TABLE TABLE2(
ID INTEGER NOT NULL,
FIELD1 VARCHAR(256),
FIELD2 VARCHAR(256),
FIELD3 VARCHAR(512),
FIELD4 VARCHAR(100),
FIELD5 VARCHAR(2048))
Using EF I'm trying to copy data from one database to another. I want
to copy full data i