/// <summary> /// Deprecated Method for adding a new object to the StoreVariantTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStoreVariantTypes(StoreVariantType storeVariantType) { base.AddObject("StoreVariantTypes", storeVariantType); }
/// <summary> /// Create a new StoreVariantType object. /// </summary> /// <param name="answerTypeID">Initial value of the AnswerTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> public static StoreVariantType CreateStoreVariantType(global::System.Int32 answerTypeID, global::System.String name) { StoreVariantType storeVariantType = new StoreVariantType(); storeVariantType.AnswerTypeID = answerTypeID; storeVariantType.Name = name; return storeVariantType; }