public FProbAttributeBLL(FProbAttributeBLL attr) { this.primaryKey = attr.primaryKey; this.idAttribute = attr.idAttribute; this.attributeName = attr.attributeName; this.fproDataType = attr.fproDataType; this.description = attr.description; this.fproSchema = attr.fproSchema; }
public FProbSchemaBLL(int ID, string name, List <FProbAttributeBLL> Attributes) { this.idSchema = ID; this.schemaName = name; this.fproAttributes = new List <FProbAttributeBLL>(); foreach (FProbAttributeBLL item in Attributes) { FProbAttributeBLL attr = new FProbAttributeBLL(); attr.AttributeName = item.AttributeName; attr.Description = item.Description; attr.IdAttribute = item.IdAttribute; attr.PrimaryKey = item.PrimaryKey; attr.FproDataType = new FProDataTypeBLL(item.FproDataType); this.fproAttributes.Add(attr); } }