/// <summary> /// Create a new Propertie object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="valueString">Initial value of the ValueString property.</param> /// <param name="valueLogic">Initial value of the ValueLogic property.</param> /// <param name="valueDate">Initial value of the ValueDate property.</param> /// <param name="valueInt">Initial value of the ValueInt property.</param> /// <param name="valueDecimal">Initial value of the ValueDecimal property.</param> /// <param name="valueGuid">Initial value of the ValueGuid property.</param> public static Propertie CreatePropertie(global::System.Guid id, global::System.String name, global::System.String valueString, global::System.Boolean valueLogic, global::System.DateTime valueDate, global::System.Int32 valueInt, global::System.Decimal valueDecimal, global::System.Guid valueGuid) { Propertie propertie = new Propertie(); propertie.Id = id; propertie.Name = name; propertie.ValueString = valueString; propertie.ValueLogic = valueLogic; propertie.ValueDate = valueDate; propertie.ValueInt = valueInt; propertie.ValueDecimal = valueDecimal; propertie.ValueGuid = valueGuid; return propertie; }
/// <summary> /// Deprecated Method for adding a new object to the Properties EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProperties(Propertie propertie) { base.AddObject("Properties", propertie); }