e.g. having a BO:
Code: Select all
class Foo
{
string FooNumber {get; set;}
string FooName {get; set;}
}
...
report.RegBusinessObject("Foo", new Foo{..});
...
Code: Select all
class Foo
{
string FooNumber {get; set;}
string FooName {get; set;}
}
...
report.RegBusinessObject("Foo", new Foo{..});
...
Code: Select all
report.RegBusinessObject("Foo", new Foo{FooNumber = "1", FooName = "Name"});
report.Dictionary.SynchronizeBusinessObjects();
report.Dictionary.BusinessObjects["Foo"].Columns["FooNumber"].Name = "BarNumber";
report.Dictionary.BusinessObjects["Foo"].Columns["FooNumber"].NameInSource = "FooNumber";