Ejemplo n.º 1
0
 /// <ToBeCompleted></ToBeCompleted>
 protected internal ModelObjectBase(ModelObjectBase source)
 {
     id = null;
     modelObjectType = source.Type;
     name            = modelObjectType.GetDefaultName();
     parent          = source.Parent;
 }
Ejemplo n.º 2
0
 /// <ToBeCompleted></ToBeCompleted>
 protected internal ModelObjectBase(ModelObjectBase source)
 {
     _id = null;
     _modelObjectType = source.Type;
     _name            = _modelObjectType.GetDefaultName();
     _parent          = source.Parent;
 }
Ejemplo n.º 3
0
        /// <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)));
        }