public PRelation(int id, PSchema schema, string relationName, IList <PTuple> tupes) { this.id = id; this.schema = schema; this.relationName = relationName; this.tupes = tupes; }
public PAttribute(PAttribute pAttribute) { this.AttributeName = pAttribute.AttributeName; this.Description = pAttribute.Description; this.id = pAttribute.id; this.primaryKey = pAttribute.primaryKey; this.Schema = pAttribute.Schema; this.Type = pAttribute.Type; }
public PAttribute(bool primaryKey, int id, string attributeName, PDataType type, string description, PSchema pSchema) { this.primaryKey = primaryKey; this.id = id; AttributeName = attributeName; Type = type; Description = description; Schema = pSchema; }
public PAttribute() { this.Type = new PDataType(); this.Schema = new PSchema(); }