InsertCategory() public abstract method

Inserts a new Category into the data store specified by the provider.
public abstract InsertCategory ( Category category ) : void
category Category /// The category. ///
return void
Esempio n. 1
0
 /// <summary>
 /// Persists a new Category in the current provider.
 /// </summary>
 public static void InsertCategory(Category category)
 {
     LoadProviders();
     _provider.InsertCategory(category);
 }