public class DataObjectType
public class DataObjectType
Entity myNewEntity = api.Entities.NewEntity("Campaigns"); myNewEntity.DataSourceId = api.DataSources.GetDataSource("Donations MSSQL").Id; myNewEntity.ObjectType = DataObjectType.Table; myNewEntity.Id = "campaigns"; myNewEntity.DbName = "Campaigns"; myNewEntity.Name = "campaigns"; myNewEntity.ObjectDescription = "Fundraising campaigns"; myNewEntity.Category = "CRM\\Sales";
System.Object
WebReports.Api.Data.DataObjectType