/// <ToBeCompleted></ToBeCompleted> protected internal ModelObjectBase(ModelObjectBase source) { id = null; modelObjectType = source.Type; name = modelObjectType.GetDefaultName(); parent = source.Parent; }
/// <ToBeCompleted></ToBeCompleted> protected internal ModelObjectBase(ModelObjectBase source) { _id = null; _modelObjectType = source.Type; _name = _modelObjectType.GetDefaultName(); _parent = source.Parent; }
/// <summary> /// Retrieves the persistable properties of <see cref="T:Dataweb.NShape.Advanced.GenericModelObject" />. /// </summary> new public static IEnumerable <EntityPropertyDefinition> GetPropertyDefinitions(int version) { foreach (EntityPropertyDefinition pi in ModelObjectBase.GetPropertyDefinitions(version)) { yield return(pi); } yield return(new EntityFieldDefinition("IntegerValue", typeof(int))); yield return(new EntityFieldDefinition("FloatValue", typeof(float))); yield return(new EntityFieldDefinition("StringValue", typeof(string))); }