Пример #1
0
 public PRelation(int id, PSchema schema, string relationName, IList <PTuple> tupes)
 {
     this.id           = id;
     this.schema       = schema;
     this.relationName = relationName;
     this.tupes        = tupes;
 }
Пример #2
0
 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;
 }
Пример #3
0
 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;
 }
Пример #4
0
 public PAttribute()
 {
     this.Type   = new PDataType();
     this.Schema = new PSchema();
 }