/// <summary> /// Deprecated Method for adding a new object to the PersistentStorage EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersistentStorage(DBPersistentStorage dBPersistentStorage) { base.AddObject("PersistentStorage", dBPersistentStorage); }
/// <summary> /// Create a new DBPersistentStorage object. /// </summary> /// <param name="typeName">Initial value of the TypeName property.</param> /// <param name="instanceId">Initial value of the InstanceId property.</param> /// <param name="variableName">Initial value of the VariableName property.</param> /// <param name="value">Initial value of the Value property.</param> public static DBPersistentStorage CreateDBPersistentStorage(global::System.String typeName, global::System.Int64 instanceId, global::System.String variableName, global::System.Byte[] value) { DBPersistentStorage dBPersistentStorage = new DBPersistentStorage(); dBPersistentStorage.TypeName = typeName; dBPersistentStorage.InstanceId = instanceId; dBPersistentStorage.VariableName = variableName; dBPersistentStorage.Value = value; return dBPersistentStorage; }