Ejemplo n.º 1
0
 /// <summary>
 /// Create a new ContentResource object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="uRL">Initial value of the URL property.</param>
 public static ContentResource CreateContentResource(global::System.Guid id, global::System.String name, global::System.String description, global::System.String uRL)
 {
     ContentResource contentResource = new ContentResource();
     contentResource.Id = id;
     contentResource.Name = name;
     contentResource.Description = description;
     contentResource.URL = uRL;
     return contentResource;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ContentResources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContentResources(ContentResource contentResource)
 {
     base.AddObject("ContentResources", contentResource);
 }